Raw.UpdateReadChannelDiscussionInbox
Incoming comments in a discussion thread were marked as read
updateReadChannelDiscussionInbox#d6b19546 flags:# channel_id:long top_msg_id:int read_max_id:int broadcast_id:flags.0?long broadcast_post:flags.0?int = Update;
export namespace Raw {
export class UpdateReadChannelDiscussionInbox {
constructor(params: {
channelId: bigint;
topMsgId: number;
readMaxId: number;
broadcastId?: bigint;
broadcastPost?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xd6b19546
Property
channelId
: bigintDiscussion group id
topMsgId
: numberId of the group message that started the thread (message in linked discussion group)
readMaxId
: numberMessage id of latest read incoming message for this thread
broadcastId
: bigint or undefinedIf set, contains the id of the channel that contains the post that started the comment thread in the discussion group (channelId)
broadcastPost
: number or undefinedIf set, contains the id of the channel post that started the comment thread