join_group_call()

async Client.join_group_call()

Join a group call / voice chat via MTProto signaling.

Usable by Users Bots
Parameters:
  • chat_id (int | str | GroupCall) – Target chat ID or GroupCall object.

  • params (str | DataJSON, optional) – Signaling parameters payload JSON string or DataJSON object. If omitted, a fresh random WebRTC SSRC is generated automatically.

  • join_as (int | str | InputPeer, optional) – Channel or identity to join as. Defaults to self.

  • muted (bool, optional) – Whether to join muted.

  • video_stopped (bool, optional) – Whether to join with video disabled.

  • invite_hash (str, optional) – Invite hash to speak in a muted channel voice chat.

  • public_key (int, optional) – Conference call public key.

  • block (bytes, optional) – Conference call initial block.

Returns:

Updates – Updates resulting from joining the call.

Example

await app.join_group_call(chat_id)