MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateDeleteMessages.md

47 lines
991 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: updateDeleteMessages
description: Update delete messages
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateDeleteMessages
[Back to constructors index](index.md)
Update delete messages
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|messages|Array of [int](../types/int.md) | Yes|Messages|
|pts|[int](../types/int.md) | Yes|Pts|
|pts\_count|[int](../types/int.md) | Yes|Pts count|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "updateDeleteMessages", "messages": [int], "pts": int, "pts_count": int}
```
Or, if you're into Lua:
```lua
updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int}
```