2019-09-13 17:13:55 +02:00
|
|
|
---
|
|
|
|
title: updateEncryptedMessagesRead
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Communication history in an encrypted chat was marked as read.
|
2019-09-13 17:13:55 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: updateEncryptedMessagesRead
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Communication history in an encrypted chat was marked as read.
|
2019-09-13 17:13:55 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
2019-12-27 17:48:04 +01:00
|
|
|
|max\_date|[int](../types/int.md) | Yes|Maximum value of data for read messages|
|
|
|
|
|date|[int](../types/int.md) | Yes|Time when messages were read|
|
2019-09-13 17:13:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|