Get a list of sponsored messages
Method schema is available as of layer 192. Switch ยป
| Name | Type | Description |
|---|---|---|
| channel | InputChannel | Peer |
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
| 400 | MSG_ID_INVALID | Invalid message ID provided. |