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

1.3 KiB

title description nav_exclude image
updateReadChannelInbox Incoming messages in a channel/supergroup were read true 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
folder_id int Optional Peer folder ID, for more info click here
channel_id long Yes Channel/supergroup ID
max_id int Yes Position up to which all incoming messages are read.
still_unread_count int Yes Count of messages weren't read yet
pts int Yes Event count after generation

Type: Update

Example:

$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'folder_id' => int, 'channel_id' => long, 'max_id' => int, 'still_unread_count' => int, 'pts' => int];