copyWith method
InputMessageAnimation
copyWith({
- InputAnimation? animation,
- FormattedText? caption,
- bool? showCaptionAboveMedia,
- bool? hasSpoiler,
Implementation
InputMessageAnimation copyWith({
InputAnimation? animation,
FormattedText? caption,
bool? showCaptionAboveMedia,
bool? hasSpoiler,
}) => InputMessageAnimation(
animation: animation ?? this.animation,
caption: caption ?? this.caption,
showCaptionAboveMedia: showCaptionAboveMedia ?? this.showCaptionAboveMedia,
hasSpoiler: hasSpoiler ?? this.hasSpoiler,
);