copyWith method

GetInlineQueryResults copyWith({
  1. int? botUserId,
  2. int? chatId,
  3. Location? userLocation,
  4. String? query,
  5. String? offset,
})

Implementation

GetInlineQueryResults copyWith({
  int? botUserId,
  int? chatId,
  Location? userLocation,
  String? query,
  String? offset,
}) =>
    GetInlineQueryResults(
      botUserId: botUserId ?? this.botUserId,
      chatId: chatId ?? this.chatId,
      userLocation: userLocation ?? this.userLocation,
      query: query ?? this.query,
      offset: offset ?? this.offset,
    );