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 CHANNEL_INVALID The provided channel is invalid.

Errors