copyWith method

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

Implementation

@override
InputInlineQueryResultDocument copyWith({
  String? id,
  String? title,
  String? description,
  String? documentUrl,
  String? mimeType,
  String? thumbnailUrl,
  int? thumbnailWidth,
  int? thumbnailHeight,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) => InputInlineQueryResultDocument(
  id: id ?? this.id,
  title: title ?? this.title,
  description: description ?? this.description,
  documentUrl: documentUrl ?? this.documentUrl,
  mimeType: mimeType ?? this.mimeType,
  thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
  thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
  thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
  replyMarkup: replyMarkup ?? this.replyMarkup,
  inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);