updateNewChannelMessage

A new message was sent in a channel/supergroup

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

Parameters

Name Type Description
message Message New message
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.