Layer 227
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 |
|---|---|---|
| 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{ Pinned: nil, ChannelId: int64(1234567890), Messages: &tg.VectorInt{}, Pts: 42, PtsCount: 42, }