copyWith method

  1. @override
InputInlineQueryResultPhoto copyWith({
  1. String? id,
  2. String? title,
  3. String? description,
  4. String? thumbnailUrl,
  5. String? photoUrl,
  6. int? photoWidth,
  7. int? photoHeight,
  8. ReplyMarkup? replyMarkup,
  9. InputMessageContent? inputMessageContent,
})
override

Implementation

@override
InputInlineQueryResultPhoto copyWith({
  String? id,
  String? title,
  String? description,
  String? thumbnailUrl,
  String? photoUrl,
  int? photoWidth,
  int? photoHeight,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) =>
    InputInlineQueryResultPhoto(
      id: id ?? this.id,
      title: title ?? this.title,
      description: description ?? this.description,
      thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
      photoUrl: photoUrl ?? this.photoUrl,
      photoWidth: photoWidth ?? this.photoWidth,
      photoHeight: photoHeight ?? this.photoHeight,
      replyMarkup: replyMarkup ?? this.replyMarkup,
      inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    );