updateChatPinnedMessage

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

updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update;

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