close_general_topic()¶
- Client.close_general_topic()¶
Close a forum topic.
Usable by Users Bots
- Parameters:¶
chat_id (
int
|str
) – Unique identifier (int) or username (str) of the target chat. You can also use chat public link in form of t.me/<username> (str).- Returns:¶
bool – On success, a True is returned.
Example
await app.close_general_topic(chat_id)