Raw.messages.ClickSponsoredMessage
Informs the server that the user has interacted with a sponsored message in one of the ways listed here.
messages.clickSponsoredMessage#f093465 flags:# media:flags.0?true fullscreen:flags.1?true peer:InputPeer random_id:bytes = Bool;
export namespace Raw {
export namespace messages {
export class ClickSponsoredMessage {
constructor(params: {
media?: boolean;
fullscreen?: boolean;
peer: Raw.TypeInputPeer;
randomId: Buffer;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0xf093465
Property
media
: boolean or undefinedThe user clicked on the media
fullscreen
: boolean or undefinedThe user expanded the video to full screen, and then clicked on it.
peer
: Raw.TypeInputPeerThe channel/bot where the ad is located
randomId
: BufferThe ad’s unique id.