copyWith method
InputMessageDocument
copyWith({
- InputFile? document,
- InputThumbnail? thumbnail,
- bool? disableContentTypeDetection,
override
Implementation
@override
InputMessageDocument copyWith({
InputFile? document,
InputThumbnail? thumbnail,
bool? disableContentTypeDetection,
FormattedText? caption,
}) => InputMessageDocument(
document: document ?? this.document,
thumbnail: thumbnail ?? this.thumbnail,
disableContentTypeDetection: disableContentTypeDetection ?? this.disableContentTypeDetection,
caption: caption ?? this.caption,
);