Link Search Menu Expand Document

Constructor: updateReadChannelDiscussionInbox

Back to constructors index

Incoming comments in a discussion thread were marked as read

Attributes:

NameTypeRequiredDescription
channel_idlongYesDiscussion group ID
top_msg_idintYesID of the group message that started the thread (message in linked discussion group)
read_max_idintYesMessage ID of latest read incoming message for this thread
broadcast_idlongOptionalIf set, contains the ID of the channel that contains the post that started the comment thread in the discussion group (channel_id)
broadcast_postintOptionalIf 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];