leave_group_call()¶
- async Client.leave_group_call()¶
Leave an active group voice chat or video stream without ending the call for others.
Usable by Users Bots- Parameters:
chat_id (
int|str|GroupCall) – Unique identifier (int) or username (str) of the target chat, or GroupCall object.source (
int, optional) – Source ID of the main group call stream if leaving via raw signaling. If not specified, leaves using the active WebRTC call manager.
- Returns:
bool|Updates– True on success, or Updates if raw call left.
Example
await app.leave_group_call(chat_id)