copyWith method

  1. @override
InputInlineQueryResultArticle copyWith({
  1. String? id,
  2. String? url,
  3. bool? hideUrl,
  4. String? title,
  5. String? description,
  6. String? thumbnailUrl,
  7. int? thumbnailWidth,
  8. int? thumbnailHeight,
  9. ReplyMarkup? replyMarkup,
  10. InputMessageContent? inputMessageContent,
})
override

Implementation

@override
InputInlineQueryResultArticle copyWith({
  String? id,
  String? url,
  bool? hideUrl,
  String? title,
  String? description,
  String? thumbnailUrl,
  int? thumbnailWidth,
  int? thumbnailHeight,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) => InputInlineQueryResultArticle(
  id: id ?? this.id,
  url: url ?? this.url,
  hideUrl: hideUrl ?? this.hideUrl,
  title: title ?? this.title,
  description: description ?? this.description,
  thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
  thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
  thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
  replyMarkup: replyMarkup ?? this.replyMarkup,
  inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);