Interface ClickChatSponsoredMessage

Informs TDLib that the user opened the sponsored chat via the button, the name, the chat photo, a mention in the sponsored message text, or the media in the sponsored message. Request type for Tdjson#clickChatSponsoredMessage.

interface ClickChatSponsoredMessage {
    @type: "clickChatSponsoredMessage";
    chat_id: number;
    from_fullscreen?: boolean;
    is_media_click?: boolean;
    message_id: number;
}

Properties

@type: "clickChatSponsoredMessage"
chat_id: number

Chat identifier of the sponsored message.

from_fullscreen?: boolean

Pass true if the user expanded the video from the sponsored message fullscreen before the click.

is_media_click?: boolean

Pass true if the media was clicked in the sponsored message.

message_id: number

Identifier of the sponsored message.