messages.viewSponsoredMessage #
Mark a specific sponsored message » as read¶
Layer 223
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.viewSponsoredMessage#269e3643 random_id:bytes = Bool; Parameters #
| Name | Type | Description |
|---|---|---|
| random_id | bytes | The ad's unique ID. See here » for more info on random ID deduplication and updateMessageID mapping. |
Result #
Only users can use this method #
Related pages #
Working with Updates #
How to subscribe to updates and handle them properly.¶
Sponsored messages #
How clients should fetch, display and interact with sponsored messages.¶