telegram api method · layer 229 · #8fb53057

phone.joinGroupCall

usable by users

Join a group call

definition

phone.joinGroupCall#8fb53057 flags:# muted:flags.0?true video_stopped:flags.2?true call:InputGroupCall join_as:InputPeer invite_hash:flags.1?string public_key:flags.3?int256 block:flags.3?bytes params:DataJSON = Updates;

parameters

nametypedescription
flags#Flags, see TL conditional fields
mutedflags.0?trueIf set, the user will be muted by default upon joining.
video_stoppedflags.2?trueIf set, the user's video will be disabled by default upon joining.
callInputGroupCallThe group call
join_asInputPeerJoin the group call, presenting yourself as the specified user/channel
invite_hashflags.1?stringThe invitation hash from the invite link », if provided allows speaking in a livestream or muted group chat.
public_keyflags.3?int256For conference calls, your public key.
blockflags.3?bytesThe block containing an appropriate e2e.chain.changeSetGroupState event.
paramsDataJSONWebRTC parameters

returns

Updates

errors (10)

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.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400DATA_JSON_INVALIDThe provided JSON data is invalid.
400GROUPCALL_INVALIDThe specified group call is invalid.
400GROUPCALL_SSRC_DUPLICATE_MUCHThe app needs to retry joining the group call with a new SSRC value.
400JOIN_AS_PEER_INVALIDThe specified peer cannot be used to join a group call.
400PUBLIC_KEY_INVALIDThe specified e2e public key is invalid.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403CHAT_WRITE_FORBIDDENYou can't write in this chat.
403GROUPCALL_FORBIDDENThe specified group call cannot be used in this context.

history

present in layers 122–229 · constructor id changed 3×

idlayers
#5f9c8e62122–124
#b132ff7b125–195
#d61e1df3196–201
#8fb53057202–229