channels.viewSponsoredMessage

Mark a specific sponsored message as read

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
channels.viewSponsoredMessage#beaedb94 channel:InputChannel random_id:bytes = Bool;

Parameters

Name Type Description
channel InputChannel Peer
random_id bytes Message ID

Result

Bool

Possible errors

Code Type Description
400 UNKNOWN_ERROR Internal error.

Related pages

Sponsored messages

How to implement sponsored messages