channels.viewSponsoredMessage

Mark a specific sponsored message as read

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

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.
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.

Errors