copyWith method

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

Implementation

SendInlineQueryResultMessage copyWith({
  int? chatId,
  MessageTopic? topicId,
  InputMessageReplyTo? replyTo,
  MessageSendOptions? options,
  int? queryId,
  String? resultId,
  bool? hideViaBot,
}) => SendInlineQueryResultMessage(
  chatId: chatId ?? this.chatId,
  topicId: topicId ?? this.topicId,
  replyTo: replyTo ?? this.replyTo,
  options: options ?? this.options,
  queryId: queryId ?? this.queryId,
  resultId: resultId ?? this.resultId,
  hideViaBot: hideViaBot ?? this.hideViaBot,
);