reopen_forum_topic()

async Client.reopen_forum_topic()

Reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

  • topic_id (int) – Unique identifier (int) of the target forum topic.

Returns:

bool – On success, True is returned.

Example

await app.reopen_forum_topic(chat_id, topic_id)