EditMessageMedia constructor

const EditMessageMedia({
  1. required int chatId,
  2. required int messageId,
  3. ReplyMarkup? replyMarkup,
  4. required InputMessageContent inputMessageContent,
})

Edits the content of a message with an animation, an audio, a document, a photo or a video, including message caption. If only the caption needs to be edited, use editMessageCaption instead.. The media can't be edited if the message was set to self-destruct or to a self-destructing media. The type of message content in an album can't be changed with exception of replacing a photo with a video or vice versa. Returns the edited message after the edit is completed on the server side

Implementation

const EditMessageMedia({
  required this.chatId,
  required this.messageId,
  this.replyMarkup,
  required this.inputMessageContent,
});