channels.readHistory
Mark channel/supergroup history as read
Mark [channel/supergroup](https://core.telegram.org/api/channel.md) history as read
| Name | Type | Required | Description |
|---|---|---|---|
channel | InputChannel | Yes | [Channel/supergroup](https://core.telegram.org/api/channel.md) |
max_id | int | Yes | ID of message up to which messages should be marked as read |
Replies
Bool
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 406 · CHANNEL_PRIVATE — You haven't joined this channel/supergroup.
- 400 · MSG_ID_INVALID — Invalid message ID provided.