1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 18:27:20 +01:00
MadelineProto/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md
2017-07-23 16:11:02 +02:00

1.1 KiB

title description
updateDeleteChannelMessages updateDeleteChannelMessages attributes, type and example

Constructor: updateDeleteChannelMessages

Back to constructors index

Attributes:

Name Type Required
channel_id int Yes
messages Array of int Yes
channel_pts int Yes
channel_pts_count int Yes

Type: Update

Example:

$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'channel_pts' => int, 'channel_pts_count' => int, ];

PWRTelegram json-encoded version:

{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"channel_pts":"int","channel_pts_count":"int"}

Or, if you're into Lua:

updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, channel_pts=int, channel_pts_count=int, }