MadelineProtoDocs/old_docs/API_docs_v13/constructors/messages.affectedMessages.md

41 lines
1.0 KiB
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: messages.affectedMessages
description: Events affected by operation
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_affectedMessages.html
---
# Constructor: messages.affectedMessages
[Back to constructors index](index.md)
Events affected by operation
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)|
|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)|
### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md)
### Example:
```php
$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int];
```
Or, if you're into Lua:
```lua
messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int}
```