copyWith method

  1. @override
UpdateNewChosenInlineResult copyWith({
  1. int? senderUserId,
  2. Location? userLocation,
  3. String? query,
  4. String? resultId,
  5. String? inlineMessageId,
  6. dynamic extra,
  7. int? clientId,
})
override

Implementation

@override
UpdateNewChosenInlineResult copyWith({
  int? senderUserId,
  Location? userLocation,
  String? query,
  String? resultId,
  String? inlineMessageId,
  dynamic extra,
  int? clientId,
}) => UpdateNewChosenInlineResult(
  senderUserId: senderUserId ?? this.senderUserId,
  userLocation: userLocation ?? this.userLocation,
  query: query ?? this.query,
  resultId: resultId ?? this.resultId,
  inlineMessageId: inlineMessageId ?? this.inlineMessageId,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);