MadelineProtoDocs/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md
2019-12-27 17:48:04 +01:00

935 B

title description image
updateReadChannelInbox Incoming messages in a [channel/supergroup](https://core.telegram.org/api/channel) were read https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateReadChannelInbox

Back to constructors index

Incoming messages in a channel/supergroup were read

Attributes:

Name Type Required Description
peer Peer Yes Peer
max_id int Yes Position up to which all incoming messages are read.

Type: Update

Example:

$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'peer' => Peer, 'max_id' => int];

Or, if you're into Lua:

updateReadChannelInbox={_='updateReadChannelInbox', peer=Peer, max_id=int}