1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateDeleteMessages.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}}