MadelineProtoDocs/docs/API_docs/constructors/updateDeleteChannelMessages.md
2024-05-01 14:53:46 +02:00

1.1 KiB

title description nav_exclude image
updateDeleteChannelMessages Some messages in a supergroup/channel were deleted true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateDeleteChannelMessages

Back to constructors index

Some messages in a supergroup/channel were deleted

Attributes:

Name Type Required Description
channel_id long 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

Example:

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