editMessageMediaInline method
Future<bool>
editMessageMediaInline(
- String? inlineMessageId,
- InputMedia media, {
- ReplyMarkup? replyMarkup,
inherited
Use this method to edit animation, audio, document, photo, or video messages.
If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise.
When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL.
On success, True is returned.
Implementation
Future<bool> editMessageMediaInline(
String? inlineMessageId,
InputMedia media, {
ReplyMarkup? replyMarkup,
}) {
return _client.apiCall(_token, 'editMessageMedia', {
'inline_message_id': inlineMessageId,
'media': media,
'reply_markup': replyMarkup,
});
}