Layer 224
UpdatePinnedForumTopic
Forum topic pinned status changed
constructor
updatePinnedForumTopic#683b2c52 flags:# pinned:flags.0?true peer:Peer topic_id:int = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Pinned | flags.0?true | Whether topic is pinned |
| Peer | Peer | Forum peer |
| TopicId | int | Topic ID |
Returns
UpdateGogram Example
// Creating UpdatePinnedForumTopic constructor obj := &tg.UpdatePinnedForumTopic{ Peer: &tg.Peer{}, TopicId: 42, // Optional fields: // Pinned: true, }