Function tdlib::functions::edit_inline_message_media
source · [−]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 identifierreply_markup- The new message reply markup; pass null if none; for bots onlyinput_message_content- New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideoclient_id- The client id to send the request to