updateChannelPinnedMessage

A message was pinned in a channel/supergroup. This update is also typically emitted as an updateNewChannelMessage with messageService.

Constructor schema is available as of layer 120. Switch »

Parameters

Name Type Description
channel_id int Channel/supergroup ID
id int ID of pinned message

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