42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
---
|
|
title: messages.affectedHistory
|
|
description: Affected part of communication history with the user or in a chat.
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
redirect_from: /API_docs/constructors/messages_affectedHistory.html
|
|
---
|
|
# Constructor: messages.affectedHistory
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Affected part of communication history with the user or in a chat.
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|pts|[int](../types/int.md) | Yes|Number of events occured in a text box|
|
|
|seq|[int](../types/int.md) | Yes|
|
|
|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease|
|
|
|
|
|
|
|
|
### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```php
|
|
$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int];
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
```lua
|
|
messages.affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int}
|
|
|
|
```
|
|
|
|
|