Skip to content

editInlineMessageMedia

Function · TDLib 1.8.67 · d1085f9c

Edits the media content of a message with a text, an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only

editInlineMessageMedia(
  inline_message_id: string,
  reply_markup: ReplyMarkup,
  input_message_content: InputMessageContent
) → Ok

inline_message_id

string

Inline message identifier

reply_markup

ReplyMarkup

The new message reply markup; pass null if none; for bots only

input_message_content

InputMessageContent

New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo