Raw.messages.GetMessagesViews
Get and increase the view counter of a message sent or forwarded from a channel
messages.getMessagesViews#5784d3e1 peer:InputPeer id:Vector<int> increment:Bool = messages.MessageViews;
export namespace Raw {
export namespace messages {
export class GetMessagesViews {
constructor(params: { peer: Raw.TypeInputPeer; id: Array<number>; increment: boolean }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x5784d3e1
Property
peer
: Raw.TypeInputPeerPeer where the message was found
id
: Array of numberId of message
increment
: booleanWhether to mark the message as viewed and increment the view counter