updateChatPinnedMessage

A message was pinned in a basic group. This update is also typically emitted as an updateNewChannelMessage with messageService.

Constructor schema is available as of layer 96. Switch »

Parameters

Name Type Description
chat_id int Basic group ID
id int ID of pinned message
version int Used to reorder updates in basic groups

Type

 

Related pages

Channels, supergroups, gigagroups and basic groups

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

updateNewChannelMessage

A new message was sent in a channel/supergroup

messageService

Indicates a service message