UpdatePinnedForumTopic

class pyrogram.raw.types.UpdatePinnedForumTopic

{schema}

Constructor of Update.

Details:
  • Layer: 223

  • ID: 683B2C52

Parameters:
  • peer (Peer)

  • topic_id (int 32-bit)

  • pinned (bool, optional)

TL Schema

updatePinnedForumTopic#683b2c52
flags:#
pinned:flags.0?true
peer:Peer
topic_id:int

= Update

Parameter Tree

UpdatePinnedForumTopic
├── pinnedtrue (optional)
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
└── topic_idint

Example

UpdatePinnedForumTopic(
    peer=PeerUser(user_id=0),
    topic_id=0,
)