Link Search Menu Expand Document

Constructor: updateNewChannelMessage

Back to constructors index

A new message was sent in a channel/supergroup

Attributes:

NameTypeRequiredDescription
messageMessageOptionalNew message
ptsintYesEvent count after generation
pts_countintYesNumber of events that were generated

Type: Update

Example:

$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int];