copyWith method

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

Implementation

EditMessageText copyWith({
  int? chatId,
  int? messageId,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) => EditMessageText(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  replyMarkup: replyMarkup ?? this.replyMarkup,
  inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);