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:
UpdateShort | UpdateShortChatMessage |
UpdateShortMessage | UpdateShortSentMessage |
Updates | UpdatesCombined |
UpdatesTooLong |
Parameters
call | InputGroupCall | |
participant | InputPeer | Anything entity-like will work if the library can find its Input version (e.g., usernames, Peer , User or Channel objects, etc.). |
muted | Bool | This argument defaults to None and can be omitted. |
volume | int | This argument defaults to None and can be omitted. |
raise_hand | Bool | This argument defaults to None and can be omitted. |
video_stopped | Bool | This argument defaults to None and can be omitted. |
video_paused | Bool | This argument defaults to None and can be omitted. |
presentation_paused | Bool | This argument defaults to None and can be omitted. |
Known RPC errors
This request can cause 1 known error:
UserVolumeInvalidError | The 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())