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

1.7 KiB

title description nav_exclude image
updateReadChannelDiscussionInbox Incoming comments in a discussion thread were marked as read true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateReadChannelDiscussionInbox

Back to constructors index

Incoming comments in a discussion thread were marked as read

Attributes:

Name Type Required Description
channel_id long Yes Discussion group ID
top_msg_id int Yes ID of the group message that started the thread (message in linked discussion group)
read_max_id int Yes Message ID of latest read incoming message for this thread
broadcast_id long Optional If set, contains the ID of the channel that contains the post that started the comment thread in the discussion group (channel_id)
broadcast_post int Optional If set, contains the ID of the channel post that started the comment thread

Type: Update

Example:

$updateReadChannelDiscussionInbox = ['_' => 'updateReadChannelDiscussionInbox', 'channel_id' => long, 'top_msg_id' => int, 'read_max_id' => int, 'broadcast_id' => long, 'broadcast_post' => int];