messages.ReorderPinnedForumTopics#

class pyrogram.raw.functions.messages.ReorderPinnedForumTopics[source]#

Reorder pinned forum topics

Details:
  • Layer: 224

  • ID: E7841F0

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

  • order (List of int 32-bit) – Topic IDs »

  • force (bool, optional) – If not set, the order of only the topics present both server-side and in order will be changed (i.e. mentioning topics not pinned server-side in order will not pin them, and not mentioning topics pinned server-side will not unpin them). If set, the entire server-side pinned topic list will be replaced with order (i.e. mentioning topics not pinned server-side in order will pin them, and not mentioning topics pinned server-side will unpin them)

Returns:

Updates