messages.ReorderPinnedForumTopics

class pyrogram.raw.functions.messages.ReorderPinnedForumTopics

{schema}

Details:
  • Layer: 223

  • ID: E7841F0

Parameters:
  • peer (InputPeer)

  • order (List of int 32-bit)

  • force (bool, optional)

Returns:

Updates

TL Schema

messages.reorderPinnedForumTopics#e7841f0
flags:#
force:flags.0?true
peer:InputPeer
order:Vector<int>

= Updates

Parameter Tree

ReorderPinnedForumTopics
├── forcetrue (optional)
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── orderVector < int >

Example

await app.invoke(
    ReorderPinnedForumTopics(
        force=None,
        peer=await app.resolve_peer(chat_id),
        order=[0],
    )
)