phone.JoinGroupCall

class pyrogram.raw.functions.phone.JoinGroupCall

Join a group call

Details:
  • Layer: 223

  • ID: 8FB53057

Parameters:
  • call (InputGroupCall) – The group call

  • join_as (InputPeer) – Join the group call, presenting yourself as the specified user/channel

  • params (DataJSON) – WebRTC parameters

  • muted (bool, optional) – If set, the user will be muted by default upon joining.

  • video_stopped (bool, optional) – If set, the user’s video will be disabled by default upon joining.

  • invite_hash (str, optional) – The invitation hash from the invite link », if provided allows speaking in a livestream or muted group chat.

  • public_key (int 256-bit, optional) – For conference calls, your public key.

  • block (bytes, optional) – The block containing an appropriate e2e.chain.changeSetGroupState event.

Returns:

Updates

TL Schema

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

Parameter Tree

JoinGroupCall
├── mutedtrue (optional)
├── video_stoppedtrue (optional)
├── callInputGroupCall
│ ├── InputGroupCall
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputGroupCallSlug
│ │ └── slugstring
│ └── msg_idint
├── join_asInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── invite_hashstring (optional)
├── public_keyint256 (optional)
├── blockbytes (optional)
└── paramsDataJSON
└── DataJSON
└── datastring

Example

await app.invoke(
    JoinGroupCall(
        muted=None,
        video_stopped=None,
        call=InputGroupCall(
            id=0,
            access_hash=0
        ),
        join_as=await app.resolve_peer(chat_id),
        invite_hash="text",
        public_key=None,
        block=b"data",
        params=DataJSON(data="text"),
    )
)