MadelineProtoDocs/old_docs/API_docs_v91/constructors/messages_affectedMessages.md

40 lines
956 B
Markdown
Raw Normal View History

2019-03-08 13:49:23 +01:00
---
title: messages.affectedMessages
2019-12-27 17:48:04 +01:00
description: Events affected by operation
2019-03-08 13:49:23 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messages.affectedMessages
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Events affected by operation
2019-03-08 13:49:23 +01:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|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)|
2019-03-08 13:49:23 +01:00
### 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}
```