telegram api method · layer 229 · #a5273abf

phone.editGroupCallParticipant

usable by users

Edit information about a given group call participant

definition

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;

parameters

nametypedescription
flags#Flags, see TL conditional fields
callInputGroupCallThe group call
participantInputPeerThe group call participant (can also be the user itself)
mutedflags.0?BoolWhether to mute or unmute the specified participant
volumeflags.1?intNew volume
raise_handflags.2?BoolRaise or lower hand
video_stoppedflags.3?BoolStart or stop the video stream
video_pausedflags.4?BoolPause or resume the video stream
presentation_pausedflags.5?BoolPause or resume the screen sharing stream

returns

Updates

errors (11)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400GROUPCALL_FORBIDDENThe specified group call cannot be used in this context.
400GROUPCALL_INVALIDThe specified group call is invalid.
400PARTICIPANT_JOIN_MISSINGTrying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall.
400RAISE_HAND_FORBIDDENYou cannot raise your hand.
400USER_ID_INVALIDThe provided user ID is invalid.
400USER_VOLUME_INVALIDThe specified user volume is invalid.
400VIDEO_PAUSE_FORBIDDENYou cannot pause the video stream.
400VIDEO_STOP_FORBIDDENYou cannot stop the video stream.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403GROUPCALL_FORBIDDENThe specified group call cannot be used in this context.

history

present in layers 125–229 · constructor id changed 2×

idlayers
#d975eb80125–127
#aec610e4128
#a5273abf129–229