EditGroupCallParticipantRequest

Only users can use this request. See code examples.

---functions---
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

Returns

Updates

This type can be an instance of either:

UpdateShortUpdateShortChatMessage
UpdateShortMessageUpdateShortSentMessage
UpdatesUpdatesCombined
UpdatesTooLong

Parameters

callInputGroupCall
participantInputPeerAnything entity-like will work if the library can find its Input version (e.g., usernames, Peer, User or Channel objects, etc.).
mutedBoolThis argument defaults to None and can be omitted.
volumeintThis argument defaults to None and can be omitted.
raise_handBoolThis argument defaults to None and can be omitted.
video_stoppedBoolThis argument defaults to None and can be omitted.
video_pausedBoolThis argument defaults to None and can be omitted.
presentation_pausedBoolThis argument defaults to None and can be omitted.

Known RPC errors

This request can cause 1 known error:

UserVolumeInvalidErrorThe specified user volume is invalid.

You can import these from telethon.errors.

Example

from telethon.sync import TelegramClient
from telethon import functions, types

with TelegramClient(name, api_id, api_hash) as client:
    result = client(functions.phone.EditGroupCallParticipantRequest(
        call=types.InputGroupCall(
            id=-12398745604826,
            access_hash=-12398745604826
        ),
        participant='username',
        muted=False,
        volume=42,
        raise_hand=False,
        video_stopped=False,
        video_paused=False,
        presentation_paused=False
    ))
    print(result.stringify())