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

 Method schema is available as of layer 159. Switch ยป

Parameters

Name Type Description
channel InputChannel Channel where the sponsored message was posted
random_id bytes Message ID

Result

Bool

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.