discard_group_call()

Client.discard_group_call()

Terminate a group/channel call or livestream.

Usable by Users Bots
Parameters:

chat_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target chat. A chat can be either a basic group, supergroup or a channel.

Returns:

:obj:`~pyrogram.types.Message` (On success, the sent service message is returned.)

Example

await app.discard_group_call(chat_id)