Constructor: updateDeleteChannelMessages

Back to constructors index

Some messages in a supergroup/channel were deleted


Name Type Required Description
channel_id int Yes Channel ID
messages Array of int Yes IDs of messages that were deleted
pts int Yes Event count after generation
pts_count int Yes Number of events that were generated

Type: Update


$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int];

Or, if you’re into Lua:

updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, 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.