unpin_all_general_forum_topic_messages()

async Client.unpin_all_general_forum_topic_messages()

Clear the list of pinned messages in the General forum topic.

Usable by Users Bots
Parameters:

chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

Returns:

bool – True on success.

Example

await app.unpin_all_general_forum_topic_messages(chat_id)