2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: updateDeleteMessages
|
|
|
|
description: Some messages was deleted
|
|
|
|
---
|
|
|
|
## Constructor: updateDeleteMessages
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Some messages was deleted
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|
|
|chat\_id|[long](../types/long.md) | Yes|Chat identifier|
|
|
|
|
|message\_ids|Array of [long](../constructors/long.md) | Yes|Identifiers of deleted message|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'chat_id' => long, 'message_ids' => [long], ];
|
|
|
|
```
|
|
|
|
|
2017-07-23 16:11:02 +02:00
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
|
|
|
|
```
|
|
|
|
{"_":"updateDeleteMessages","chat_id":"long","message_ids":["long"]}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
updateDeleteMessages={_='updateDeleteMessages', chat_id=long, message_ids={long}, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|