Constructor: updateNewChannelMessage

Back to constructors index

A new message was sent in a channel/supergroup


Name Type Required Description
message Message Optional New message
pts int Yes Event count after generation
pts_count int Yes Number of events that were generated

Type: Update


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

Or, if you’re into Lua:

updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.