messages.editInlineBotMessage
Edit an inline bot message
| Name | Type | Required | Description |
|---|---|---|---|
no_webpage | true | No | Disable webpage preview |
invert_media | true | No | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |
id | InputBotInlineMessageID | Yes | Sent inline message ID |
message | string | No | Message |
media | InputMedia | No | Media |
reply_markup | ReplyMarkup | No | Reply markup for inline keyboards |
entities | Vector<MessageEntity> | No | [Message entities for styled text](https://core.telegram.org/api/entities.md) |
rich_message | InputRichMessage | No | Тип TL: InputRichMessage. |
Responses
Bool
MTProto RPC
- 400 · BUTTON_DATA_INVALID — The data of one or more of the buttons you provided is invalid.
- 400 · ENTITY_BOUNDS_INVALID — A specified [entity offset or length](https://core.telegram.org/api/entities.md#entity-length) is invalid, see [here »](https://core.telegram.org/api/entities.md#entity-length) for info on how to properly compute the entity offset/length.
- 400 · MESSAGE_ID_INVALID — The provided message id is invalid.
- 400 · MESSAGE_NOT_MODIFIED — The provided message data is identical to the previous message data, the message wasn't modified.