MadelineProtoDocs/docs/API_docs/constructors/updateChannelReadMessagesContents.md
2024-05-01 14:53:46 +02:00

32 lines
1.1 KiB
Markdown

---
title: "updateChannelReadMessagesContents"
description: "The specified channel/supergroup messages were read"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateChannelReadMessagesContents
[Back to constructors index](/API_docs/constructors/index.html)
The specified [channel/supergroup](https://core.telegram.org/api/channel) messages were read
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|channel\_id|[long](/API_docs/types/long.html) | Yes|[Channel/supergroup](https://core.telegram.org/api/channel) ID|
|top\_msg\_id|[int](/API_docs/types/int.html) | Optional|[Forum topic ID](https://core.telegram.org/api/forum#forum-topics).|
|messages|Array of [int](/API_docs/types/int.html) | Yes|IDs of messages that were read|
### Type: [Update](/API_docs/types/Update.html)
### Example:
```
$updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents', 'channel_id' => long, 'top_msg_id' => int, 'messages' => [int, int]];
```