pub async fn edit_inline_message_media(
    inline_message_id: String,
    reply_markup: Option<ReplyMarkup>,
    input_message_content: InputMessageContent,
    client_id: i32
) -> Result<Ok, Error>
Expand description

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

Arguments

  • inline_message_id - Inline message identifier
  • reply_markup - The new message reply markup; pass null if none; for bots only
  • input_message_content - New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo
  • client_id - The client id to send the request to