hide_general_topic()

Client.hide_general_topic()

hide a general 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.hide_general_topic(chat_id)