telegram api method · layer 229 · #a423bb51
messages.editInlineBotMessage
Edit an inline bot message
definition
messages.editInlineBotMessage#a423bb51 flags:# no_webpage:flags.1?true invert_media:flags.16?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> rich_message:flags.23?InputRichMessage = Bool;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
no_webpage | true | Disable webpage preview |
invert_media | true | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |
id | InputBotInlineMessageID | Sent inline message ID |
message | string | Message |
media | InputMedia | Media |
reply_markup | ReplyMarkup | Reply markup for inline keyboards |
entities | Vector<MessageEntity> | Message entities for styled text |
rich_message | InputRichMessage |
returns
errors (6)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 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 is invalid, see here » 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. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 62–229 · constructor id changed 4×
| id | layers |
|---|---|
| #130c2c85 | 62–71 |
| #b0e08243 | 72–78 |
| #adc3e828 | 79–90 |
| #83557dba | 91–226 |
| #a423bb51 | 227–229 |