copyWith method

  1. @override
InputInlineQueryResultAnimation copyWith({
  1. String? id,
  2. String? title,
  3. String? thumbnailUrl,
  4. String? thumbnailMimeType,
  5. String? videoUrl,
  6. String? videoMimeType,
  7. int? videoDuration,
  8. int? videoWidth,
  9. int? videoHeight,
  10. ReplyMarkup? replyMarkup,
  11. InputMessageContent? inputMessageContent,
})
override

Implementation

@override
InputInlineQueryResultAnimation copyWith({
  String? id,
  String? title,
  String? thumbnailUrl,
  String? thumbnailMimeType,
  String? videoUrl,
  String? videoMimeType,
  int? videoDuration,
  int? videoWidth,
  int? videoHeight,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) =>
    InputInlineQueryResultAnimation(
      id: id ?? this.id,
      title: title ?? this.title,
      thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
      thumbnailMimeType: thumbnailMimeType ?? this.thumbnailMimeType,
      videoUrl: videoUrl ?? this.videoUrl,
      videoMimeType: videoMimeType ?? this.videoMimeType,
      videoDuration: videoDuration ?? this.videoDuration,
      videoWidth: videoWidth ?? this.videoWidth,
      videoHeight: videoHeight ?? this.videoHeight,
      replyMarkup: replyMarkup ?? this.replyMarkup,
      inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    );