Edit an inline bot message
Method schema is available as of layer 72. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
no_webpage | flags.1?true | Disable webpage preview |
invert_media | flags.16?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 | flags.11?string | Message |
media | flags.14?InputMedia | Media |
reply_markup | flags.2?ReplyMarkup | Reply markup for inline keyboards |
entities | flags.3?Vector<MessageEntity> | Message entities for styled text |
Code | Type | Description |
---|---|---|
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. |
How to create styled text with message entities