Link Search Menu Expand Document

Constructor: updateDeleteChannelMessages

Back to constructors index

Some messages in a supergroup/channel were deleted

Attributes:

NameTypeRequiredDescription
channel_idlongYesChannel ID
messagesArray of intYesIDs of messages that were deleted
ptsintYesEvent count after generation
pts_countintYesNumber of events that were generated

Type: Update

Example:

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