copyWith method

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

Implementation

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