messages.editInlineBotMessage

Edit an inline bot message

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Bool;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
no_webpage flags.1?true Disable webpage preview
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

Result

Bool

Possible errors

Code Type Description
400 MESSAGE_ID_INVALID The provided message id is invalid.
400 MESSAGE_NOT_MODIFIED The message text has not changed.

Bots can use this method

Related pages

Styled text with message entities

How to create styled text with message entities