Machine-readable version of this page: //core.telegram.org/method/channels.viewSponsoredMessage.md.

channels.viewSponsoredMessage

Mark a specific sponsored message as read

 192 қабаты бойынша әдіс схемасы қолжетімді. Ауыстыру »

Parameters

Name Type Description
channel InputChannel Peer
random_id bytes Message ID. See here » for more info on random ID deduplication and updateMessageID mapping.

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