UpdatePinnedForumTopic#

class pyrogram.raw.types.UpdatePinnedForumTopic[source]#

A forum topic was pinned or unpinned.

Constructor of Update.

Details:
  • Layer: 224

  • ID: 683B2C52

Parameters:
  • peer (Peer) – The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located.

  • topic_id (int 32-bit) – The topic ID

  • pinned (bool, optional) – Whether the topic was pinned or unpinned