messages.ReorderPinnedForumTopics

class pyrogram.raw.functions.messages.ReorderPinnedForumTopics

{schema}

Details:
  • Layer: 227

  • 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
├── force → true (optional)
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
└── order → Vector < int >

Example

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