click_sponsored_message()

async Client.click_sponsored_message()

Report a sponsored message as clicked.

Usable by Users Bots
Parameters:
  • random_id (bytes) – The random ID of the sponsored message.

  • media (bool, optional) – If True, the media in the message was clicked.

  • fullscreen (bool, optional) – If True, the message was opened fullscreen.

Returns:

bool – True on success.

Example

await app.click_sponsored_message(random_id)