GroupCallParticipant

class pyrogram.raw.types.GroupCallParticipant

Info about a group call participant

Constructor of GroupCallParticipant.

Details:
  • Layer: 227

  • ID: 2A3DC7AC

Parameters:
  • peer (Peer) – Peer information

  • date (int 32-bit) – When did this participant join the group call

  • source (int 32-bit) – Source ID

  • muted (bool, optional) – Whether the participant is muted

  • left (bool, optional) – Whether the participant has left

  • can_self_unmute (bool, optional) – Whether the participant can unmute themselves

  • just_joined (bool, optional) – Whether the participant has just joined

  • versioned (bool, optional) – If set, and updateGroupCallParticipants.version < locally stored call.version, info about this participant should be ignored. If (…), and updateGroupCallParticipants.version > call.version+1, the participant list should be refetched using phone.getGroupParticipants.

  • min (bool, optional) – If not set, the volume and muted_by_you fields can be safely used to overwrite locally cached information; otherwise, volume will contain valid information only if volume_by_admin is set both in the cache and in the received constructor.

  • muted_by_you (bool, optional) – Whether this participant was muted by the current user

  • volume_by_admin (bool, optional) – Whether our volume can only changed by an admin

  • is_self (bool, optional) – N/A

  • video_joined (bool, optional) – Whether this participant is currently broadcasting video

  • active_date (int 32-bit, optional) – When was this participant last active in the group call

  • volume (int 32-bit, optional) – Volume, if not set the volume is set to 100%.

  • about (str, optional) – Info about this participant

  • raise_hand_rating (int 64-bit, optional) – Specifies the UI visualization order of peers with raised hands: peers with a higher rating should be showed first in the list.

  • video (GroupCallParticipantVideo, optional) – Info about the video stream the participant is currently broadcasting

  • presentation (GroupCallParticipantVideo, optional) – Info about the screen sharing stream the participant is currently broadcasting

  • paid_stars_total (int 64-bit, optional)

TL Schema

groupCallParticipant#2a3dc7ac
flags:#
muted:flags.0?true
left:flags.1?true
can_self_unmute:flags.2?true
just_joined:flags.4?true
versioned:flags.5?true
min:flags.8?true
muted_by_you:flags.9?true
volume_by_admin:flags.10?true
self:flags.12?true
video_joined:flags.15?true
peer:Peer
date:int
active_date:flags.3?int
source:int
volume:flags.7?int
about:flags.11?string
raise_hand_rating:flags.13?long
video:flags.6?GroupCallParticipantVideo
presentation:flags.14?GroupCallParticipantVideo
paid_stars_total:flags.16?long

= GroupCallParticipant

Parameter Tree

GroupCallParticipant
├── muted → true (optional)
├── left → true (optional)
├── can_self_unmute → true (optional)
├── just_joined → true (optional)
├── versioned → true (optional)
├── min → true (optional)
├── muted_by_you → true (optional)
├── volume_by_admin → true (optional)
├── is_self → true (optional)
├── video_joined → true (optional)
├── peer → Peer
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
├── date → int
├── active_date → int (optional)
├── source → int
├── volume → int (optional)
├── about → string (optional)
├── raise_hand_rating → long (optional)
├── video → GroupCallParticipantVideo (optional)
│ ├── paused → true (optional)
│ ├── endpoint → string
│ ├── source_groups → Vector < GroupCallParticipantVideoSourceGroup >
│ │ ├── semantics → string
│ │ └── sources → Vector < int >
│ └── audio_source → int (optional)
├── presentation → GroupCallParticipantVideo (optional)
│ ├── paused → true (optional)
│ ├── endpoint → string
│ ├── source_groups → Vector < GroupCallParticipantVideoSourceGroup >
│ │ ├── semantics → string
│ │ └── sources → Vector < int >
│ └── audio_source → int (optional)
└── paid_stars_total → long (optional)

Example

GroupCallParticipant(
    peer=PeerUser(user_id=0),
    date=0,
    source=0,
)