# updateReadHistoryInbox

> Incoming messages were read

[Back to constructors index](/API_docs/constructors/index.html)



Incoming messages were read

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|folder\_id|[int](/API_docs/types/int.html) | Optional|[Peer folder ID, for more info click here](https://core.telegram.org/api/folders#peer-folders)|
|peer|[long](/API_docs/types/long.html) | Yes|Peer|
|top\_msg\_id|[int](/API_docs/types/int.html) | Optional|
|max\_id|[int](/API_docs/types/int.html) | Yes|Maximum ID of messages read|
|still\_unread\_count|[int](/API_docs/types/int.html) | Yes|Number of messages that are still unread|
|pts|[int](/API_docs/types/int.html) | Yes|[Event count after generation](https://core.telegram.org/api/updates)|
|pts\_count|[int](/API_docs/types/int.html) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)|



### Type: [Update](/API_docs/types/Update.html)


### Example:

```
$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'folder_id' => int, 'peer' => long, 'top_msg_id' => int, 'max_id' => int, 'still_unread_count' => int, 'pts' => int, 'pts_count' => int];
```
