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. 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