channels.clickSponsoredMessage

Informs the server that the user has either:

  • Clicked on a link in the sponsored message
  • Has opened a sponsored chat or a sponsored website via the associated button
  • Has opened the sponsored chat via the sponsored message name, the sponsored message photo, or a mention in the sponsored message

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool;

Parameters

This constructor does not require any parameters.

Result

 

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.