edit_group_call_participant()¶
- async Client.edit_group_call_participant()¶
Edit participant properties in a group voice chat (mute, volume, video, hand raise).
Usable by Users Bots- Parameters:
chat_id (
int|str|GroupCall) – Unique identifier (int) or username (str) of the target chat, or the GroupCall object.participant (
int|str) – Target user identifier to edit.muted (
bool, optional) – Pass True to mute the participant, False to unmute.volume (
int, optional) – Set participant’s volume level (1 to 20000, 10000 = 100%).raise_hand (
bool, optional) – Pass True to raise hand in voice chat, False to lower hand.video_stopped (
bool, optional) – Pass True if participant’s video is stopped.video_paused (
bool, optional) – Pass True if participant’s video is paused.presentation_paused (
bool, optional) – Pass True if participant’s screen share presentation is paused.
- Returns:
Updates– On success, updates are returned.
Example
# Mute a participant await app.edit_group_call_participant(chat_id, user_id, muted=True) # Unmute a participant await app.edit_group_call_participant(chat_id, user_id, muted=False)