# channels.viewSponsoredMessage

Mark a specific sponsored message as read

No such method in the current schema.

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **channel** | [InputChannel](/type/InputChannel.md) | Peer |
| **random\_id** | [bytes](/type/bytes.md) | Message ID. See [here &raquo;](/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |

### Result
[Bool](/type/Bool.md)

### Possible errors

| Code | Type | Description |
| --- | --- | --- |
| 400 | CHANNEL\_INVALID | The provided channel is invalid. |
| 400 | CHANNEL\_PRIVATE | You haven't joined this channel/supergroup. |

### Errors

---