Layer 220
ChannelAdminLogEventActionPinTopic
A forum topic was pinned or unpinned
constructor
channelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventAction;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| PrevTopic | flags.0?ForumTopic | Previous topic information |
| NewTopic | flags.1?ForumTopic | New topic information |
Returns
ChannelAdminLogEventActionGogram Example
// Creating ChannelAdminLogEventActionPinTopic constructor obj := &tg.ChannelAdminLogEventActionPinTopic{ // Optional fields: // PrevTopic: &tg.ForumTopic{}, // NewTopic: &tg.ForumTopic{}, }