Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Calls\AbstractGroupCallParticipant

Back to index

Author: Daniil Gentili daniil@daniil.it

What a participant of a video chat ({@see GroupCallParticipant}) and of a live story

({@see LiveStoryParticipant}) have in common, mirroring the shared fields of groupCallParticipant.

Properties

  • $source: int WebRTC audio source ID (SSRC) of this participant, 0 if unknown.
  • $date: int When did this participant join the call.
  • $activeDate: ?int When was this participant last active, if ever.
  • $muted: bool Whether the participant is muted.
  • $canSelfUnmute: bool Whether a muted participant may unmute themselves.
  • $mutedByYou: bool Whether we muted this participant only for ourselves.
  • $self: bool Whether this participant is ourselves.
  • $justJoined: bool Whether the participant just joined.
  • $videoJoined: bool Whether the participant is transmitting video.
  • $videoSources: list<int>
  • $presentationSources: list<int>
  • $videoEndpoint: ?string The SFU endpoint id of this participant’s camera stream, needed to subscribe to it.
  • $presentationEndpoint: ?string The SFU endpoint id of this participant’s screen-share stream, needed to subscribe to it.
  • $volume: int<1, 20000> Playback volume, from 1 to 20000 where 10000 is 100%.
  • $about: ?string Bio of the participant, if any.
  • $raiseHandRating: ?int Raised hand rating, if the participant raised their hand.
  • $volumeByAdmin: bool Whether the participant’s volume was set by an admin.
  • $peerId: int Bot API ID of the peer this participant is (a user id, in a conference).

Method list:

Methods:

jsonSerialize(): array<string, mixed>


Generated by danog/phpdoc