phone.JoinGroupCall

class pyrogram.raw.functions.phone.JoinGroupCall

Join a group call

Details:
  • Layer: 227

  • 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
├── muted → true (optional)
├── video_stopped → true (optional)
├── call → InputGroupCall
│ ├── InputGroupCall
│ │ ├── id → long
│ │ └── access_hash → long
│ ├── InputGroupCallSlug
│ │ └── slug → string
│ └── msg_id → int
├── join_as → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
├── invite_hash → string (optional)
├── public_key → int256 (optional)
├── block → bytes (optional)
└── params → DataJSON
└── DataJSON
└── data → string

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"),
    )
)