copyWith method

  1. @override
InputMessageVideoNote copyWith({
  1. InputFile? videoNote,
  2. InputThumbnail? thumbnail,
  3. int? duration,
  4. int? length,
})
override

Implementation

@override
InputMessageVideoNote copyWith({
  InputFile? videoNote,
  InputThumbnail? thumbnail,
  int? duration,
  int? length,
}) =>
    InputMessageVideoNote(
      videoNote: videoNote ?? this.videoNote,
      thumbnail: thumbnail ?? this.thumbnail,
      duration: duration ?? this.duration,
      length: length ?? this.length,
    );