copyWith method
Implementation
@override
InputMessageVoiceNote copyWith({
InputFile? voiceNote,
int? duration,
String? waveform,
FormattedText? caption,
}) => InputMessageVoiceNote(
voiceNote: voiceNote ?? this.voiceNote,
duration: duration ?? this.duration,
waveform: waveform ?? this.waveform,
caption: caption ?? this.caption,
);