toggle_forum()¶
- async Client.toggle_forum()¶
Toggle forum mode in a supergroup.
Usable by Users Bots- Parameters:
enabled (bool, *optional*) – Whether forum mode is enabled
tabs (bool) – Whether to show topics as tabs
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.
- Returns:
Example
await app.toggle_forum(chat_id, ...)