copyWith method

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

Implementation

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