messages.ClickSponsoredMessage

class pyrogram.raw.functions.messages.ClickSponsoredMessage[source]

Informs the server that the user has interacted with a sponsored message in one of the ways listed here ».

Usable by Users Bots
Details:
  • Layer: 229

  • ID: 8235057E

Parameters:
  • random_id (bytes) – The ad’s unique ID. See here » for more info on random ID deduplication and updateMessageID mapping.

  • media (bool, optional) – The user clicked on the media

  • fullscreen (bool, optional) – The user expanded the video to full screen, and then clicked on it.

Returns:

bool