EditMessageText constructor

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

Edits the text of a message (or a text of a game message). Returns the edited message after the edit is completed on the server side

Implementation

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