Messages were pinned/unpinned in a channel/supergroup
updatePinnedChannelMessages#5bb98608 flags:# pinned:flags.0?true channel_id:long messages:Vector<int> pts:int pts_count:int = Update;| Name | Type | Description | 
|---|---|---|
| flags | # | Flags, see TL conditional fields | 
| pinned | flags.0?true | Whether the messages were pinned or unpinned | 
| channel_id | long | Channel ID | 
| messages | Vector<int> | Messages | 
| pts | int | Event count after generation | 
| pts_count | int | Number of events that were generated | 
How to subscribe to updates and handle them properly.
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.