delete_chat()¶
- async Client.delete_chat()¶
Delete a basic group (legacy group chat).
Usable by Users Bots- Parameters:
chat_id (
int) – The basic group chat ID to delete.- Returns:
bool– True on success.
Example
await app.delete_chat(-100123456)
Delete a basic group (legacy group chat).
chat_id (int) – The basic group chat ID to delete.
bool – True on success.
Example
await app.delete_chat(-100123456)