unhide_forum_topic()¶
- Client.unhide_forum_topic()¶
Use this method to unhide a 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.
Usable by Users Bots
- Parameters:¶
chat_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”. For a contact that exists in your Telegram address book you can use his phone number (str).
message_thread_id (``int``) – Unique identifier for the target message thread of the forum topic
- Returns:¶
:obj:`~pyrogram.types.Message` (On success, the edited message is returned.)
Example
# Unhide the General Forum Topic await app.unhide_forum_topic(chat, 1)