copyWith method

  1. @override
InputInlineQueryResultLocation copyWith({
  1. String? id,
  2. Location? location,
  3. int? livePeriod,
  4. String? title,
  5. String? thumbnailUrl,
  6. int? thumbnailWidth,
  7. int? thumbnailHeight,
  8. ReplyMarkup? replyMarkup,
  9. InputMessageContent? inputMessageContent,
})
override

Implementation

@override
InputInlineQueryResultLocation copyWith({
  String? id,
  Location? location,
  int? livePeriod,
  String? title,
  String? thumbnailUrl,
  int? thumbnailWidth,
  int? thumbnailHeight,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) =>
    InputInlineQueryResultLocation(
      id: id ?? this.id,
      location: location ?? this.location,
      livePeriod: livePeriod ?? this.livePeriod,
      title: title ?? this.title,
      thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
      thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
      thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
      replyMarkup: replyMarkup ?? this.replyMarkup,
      inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    );