Raw.messages.ReadHistory
Marks message history as read.
messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;
export namespace Raw {
export namespace messages {
export class ReadHistory {
constructor(params: { peer: Raw.TypeInputPeer; maxId: number }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xe306d3a
Property
peer
: Raw.TypeInputPeerTarget user or group
maxId
: numberIf a positive value is passed, only messages with identifiers less or equal than the given one will be read