messages.viewSponsoredMessage

Mark a specific sponsored message » as read

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.viewSponsoredMessage#673ad8f1 peer:InputPeer random_id:bytes = Bool;

Parameters

Name Type Description
peer InputPeer The channel/bot where the ad is located
random_id bytes The ad's unique ID.

Result

Bool

Bots can use this method

Related pages

Sponsored messages