phone.EditGroupCallParticipant

class pyrogram.raw.functions.phone.EditGroupCallParticipant

Edit information about a given group call participant

Details:
  • Layer: 223

  • ID: A5273ABF

Parameters:
  • call (InputGroupCall) – The group call

  • participant (InputPeer) – The group call participant (can also be the user itself)

  • muted (bool, optional) – Whether to mute or unmute the specified participant

  • volume (int 32-bit, optional) – New volume

  • raise_hand (bool, optional) – Raise or lower hand

  • video_stopped (bool, optional) – Start or stop the video stream

  • video_paused (bool, optional) – Pause or resume the video stream

  • presentation_paused (bool, optional) – Pause or resume the screen sharing stream

Returns:

Updates

TL Schema

phone.editGroupCallParticipant#a5273abf
flags:#
call:InputGroupCall
participant:InputPeer
muted:flags.0?Bool
volume:flags.1?int
raise_hand:flags.2?Bool
video_stopped:flags.3?Bool
video_paused:flags.4?Bool
presentation_paused:flags.5?Bool

= Updates

Parameter Tree

EditGroupCallParticipant
├── callInputGroupCall
│ ├── InputGroupCall
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputGroupCallSlug
│ │ └── slugstring
│ └── msg_idint
├── participantInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── mutedBool (optional)
├── volumeint (optional)
├── raise_handBool (optional)
├── video_stoppedBool (optional)
├── video_pausedBool (optional)
└── presentation_pausedBool (optional)

Example

await app.invoke(
    EditGroupCallParticipant(
        call=InputGroupCall(
            id=0,
            access_hash=0
        ),
        participant=await app.resolve_peer(chat_id),
        muted=None,
        volume=0,
        raise_hand=None,
        video_stopped=None,
        video_paused=None,
        presentation_paused=None,
    )
)