copyWith method

AddQuickReplyShortcutInlineQueryResultMessage copyWith({
  1. String? shortcutName,
  2. int? replyToMessageId,
  3. int? queryId,
  4. String? resultId,
  5. bool? hideViaBot,
})

Implementation

AddQuickReplyShortcutInlineQueryResultMessage copyWith({
  String? shortcutName,
  int? replyToMessageId,
  int? queryId,
  String? resultId,
  bool? hideViaBot,
}) => AddQuickReplyShortcutInlineQueryResultMessage(
  shortcutName: shortcutName ?? this.shortcutName,
  replyToMessageId: replyToMessageId ?? this.replyToMessageId,
  queryId: queryId ?? this.queryId,
  resultId: resultId ?? this.resultId,
  hideViaBot: hideViaBot ?? this.hideViaBot,
);