UpdatePinnedForumTopic
- class pyrogram.raw.types.UpdatePinnedForumTopic
{schema}
Constructor of
Update.- Details:
Layer:
223ID:
683B2C52
- Parameters:
peer (
Peer)topic_id (
int32-bit)pinned (
bool, optional)
TL Schema
updatePinnedForumTopic#683b2c52
flags:#
pinned:flags.0?true
peer:Peer
topic_id:int
= Update
Parameter Tree
UpdatePinnedForumTopic
├── pinned →
true (optional)├── peer →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long└── topic_id →
intExample
UpdatePinnedForumTopic(
peer=PeerUser(user_id=0),
topic_id=0,
)