Layer 224
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

Update

Gogram Example

// Creating UpdatePinnedForumTopic constructor
obj := &tg.UpdatePinnedForumTopic{
    Peer: &tg.Peer{},
    TopicId: 42,

    // Optional fields:
    // Pinned: true,
}