copyWith method

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

Implementation

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