1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 01:46:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateDeleteMessages.md
2017-07-23 16:33:46 +02:00

892 B

title description
updateDeleteMessages Some messages was deleted

Constructor: updateDeleteMessages

Back to constructors index

Some messages was deleted

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
message_ids Array of long Yes Identifiers of deleted message

Type: Update

Example:

$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'chat_id' => long, 'message_ids' => [long]];

PWRTelegram json-encoded version:

{"_": "updateDeleteMessages", "chat_id": long, "message_ids": [long]}

Or, if you're into Lua:

updateDeleteMessages={_='updateDeleteMessages', chat_id=long, message_ids={long}}