copyWith method
InputMessageVideo
copyWith({
- InputVideo? video,
- FormattedText? caption,
- bool? showCaptionAboveMedia,
- MessageSelfDestructType? selfDestructType,
- bool? hasSpoiler,
Implementation
InputMessageVideo copyWith({
InputVideo? video,
FormattedText? caption,
bool? showCaptionAboveMedia,
MessageSelfDestructType? selfDestructType,
bool? hasSpoiler,
}) => InputMessageVideo(
video: video ?? this.video,
caption: caption ?? this.caption,
showCaptionAboveMedia: showCaptionAboveMedia ?? this.showCaptionAboveMedia,
selfDestructType: selfDestructType ?? this.selfDestructType,
hasSpoiler: hasSpoiler ?? this.hasSpoiler,
);