copyWith method
InputMessageAudio
copyWith({
- InputFile? audio,
- InputThumbnail? albumCoverThumbnail,
- int? duration,
- String? title,
- String? performer,
override
Implementation
@override
InputMessageAudio copyWith({
InputFile? audio,
InputThumbnail? albumCoverThumbnail,
int? duration,
String? title,
String? performer,
FormattedText? caption,
}) => InputMessageAudio(
audio: audio ?? this.audio,
albumCoverThumbnail: albumCoverThumbnail ?? this.albumCoverThumbnail,
duration: duration ?? this.duration,
title: title ?? this.title,
performer: performer ?? this.performer,
caption: caption ?? this.caption,
);