copyWith method

ReplyToCallbackQueryWithEphemeralMessage copyWith({
  1. int? callbackQueryId,
  2. bool? replaceCallbackQueryMessage,
  3. bool? protectContent,
  4. ReplyMarkup? replyMarkup,
  5. InputMessageContent? inputMessageContent,
})

Implementation

ReplyToCallbackQueryWithEphemeralMessage copyWith({
  int? callbackQueryId,
  bool? replaceCallbackQueryMessage,
  bool? protectContent,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) =>
    ReplyToCallbackQueryWithEphemeralMessage(
      callbackQueryId: callbackQueryId ?? this.callbackQueryId,
      replaceCallbackQueryMessage:
          replaceCallbackQueryMessage ?? this.replaceCallbackQueryMessage,
      protectContent: protectContent ?? this.protectContent,
      replyMarkup: replyMarkup ?? this.replyMarkup,
      inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    );