channels.UpdatePinnedForumTopic#

class pyrogram.raw.functions.channels.UpdatePinnedForumTopic#

Pin or unpin forum topics.

Details:
  • Layer: 158

  • ID: 6C2D9026

Parameters:
  • channel (InputChannel) – Supergroup ID.

  • topic_id (int 32-bit) – Forum topic ID.

  • pinned (bool) – Whether to pin or unpin the topic.

Returns:

Updates