delete_supergroup()¶
- Client.delete_supergroup()¶
Delete a supergroup.
Usable by Users Bots
- Parameters:¶
chat_id (
int
|str
) – The id of the supergroup to be deleted. You can also use chat public link in form of t.me/<username> (str).- Returns:¶
bool
– On success, True is returned.
Example
await app.delete_supergroup(supergroup_id)