copyWith method

UpdateNewChosenInlineResult copyWith({
  1. int? senderUserId,
  2. Location? userLocation,
  3. String? query,
  4. String? resultId,
  5. String? inlineMessageId,
})

Implementation

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