telegram api method · layer 191 · #ec210fbf
channels.getSponsoredMessages
not in the latest layer 229: last defined in layer 191
definition
channels.getSponsoredMessages#ec210fbf channel:InputChannel = messages.SponsoredMessages;
parameters
| name | type | description |
|---|---|---|
channel | InputChannel |
returns
errors (4)
| code | error | description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
| 400 | CHAT_NOT_MODIFIED | No changes were made to chat information because the new information you passed is identical to the current information. |
| 400 | MSG_ID_INVALID | Invalid message ID provided. |
history
present in layers 132–191
| id | layers |
|---|---|
| #ec210fbf | 132–191 |