Layer 220
UpdatePinnedChannelMessages
Messages were pinned/unpinned in a channel/supergroup
constructor
updatePinnedChannelMessages#5bb98608 flags:# pinned:flags.0?true channel_id:long messages:Vector<int> pts:int pts_count:int = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Pinned | flags.0?true | Whether the messages were pinned or unpinned |
| ChannelId | long | Channel ID |
| Messages | Vector<int> | Messages |
| Pts | int | Event count after generation |
| PtsCount | int | Number of events that were generated |
Returns
UpdateGogram Example
// Creating UpdatePinnedChannelMessages constructor obj := &tg.UpdatePinnedChannelMessages{ ChannelId: int64(0), Messages: []int{}, Pts: 0, PtsCount: 0, // Optional fields: // Pinned: true, }