channels.ReorderPinnedForumTopics#

class pyrogram.raw.functions.channels.ReorderPinnedForumTopics#

Reorder pinned forum topics.

Details:
  • Layer: 158

  • ID: 2950A18F

Parameters:
  • channel (InputChannel) – Supergroup ID.

  • 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