updatePinnedChannelMessages

Messages were pinned/unpinned in a channel/supergroup

Constructor schema is available as of layer 133. Switch ยป

Parameters

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

Type

Update

Related pages

Working with Updates

How to subscribe to updates and handle them properly.

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.