copyWith method

SendInlineQueryResultMessage copyWith({
  1. int? chatId,
  2. int? messageThreadId,
  3. int? replyToMessageId,
  4. MessageSendOptions? options,
  5. int? queryId,
  6. String? resultId,
  7. bool? hideViaBot,
})

Implementation

SendInlineQueryResultMessage copyWith({
  int? chatId,
  int? messageThreadId,
  int? replyToMessageId,
  MessageSendOptions? options,
  int? queryId,
  String? resultId,
  bool? hideViaBot,
}) => SendInlineQueryResultMessage(
  chatId: chatId ?? this.chatId,
  messageThreadId: messageThreadId ?? this.messageThreadId,
  replyToMessageId: replyToMessageId ?? this.replyToMessageId,
  options: options ?? this.options,
  queryId: queryId ?? this.queryId,
  resultId: resultId ?? this.resultId,
  hideViaBot: hideViaBot ?? this.hideViaBot,
);