updatePinnedMessages

Some messages were pinned in a chat

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

Parameters

Name Type Description
flags # Flags, see TL conditional fields
pinned flags.0?true Whether the messages were pinned or unpinned
peer Peer Peer
messages Vector<int> Message IDs
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.