Skip to content

clickChatSponsoredMessage

Function · TDLib 1.8.67 · d1085f9c

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

clickChatSponsoredMessage(
  chat_id: int53,
  message_id: int53,
  is_media_click: Bool,
  from_fullscreen: Bool
) → Ok

chat_id

int53

Chat identifier of the sponsored message

message_id

int53

Identifier of the sponsored message

is_media_click

Bool

Pass true if the media was clicked in the sponsored message

from_fullscreen

Bool

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