edit_general_forum_topic()¶
- async Client.edit_general_forum_topic()¶
Edit the name of the ‘General’ topic in a forum supergroup chat.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.name (
str) – New name of the topic, 1-128 characters.
- Returns:
bool– On success, True is returned.
Example
await app.edit_general_forum_topic(chat_id, "Main Chat")