copyWith method
InputMessageAnimation
copyWith({
- InputFile? animation,
- InputThumbnail? thumbnail,
- List<
int> ? addedStickerFileIds, - int? duration,
- int? width,
- int? height,
override
Implementation
@override
InputMessageAnimation copyWith({
InputFile? animation,
InputThumbnail? thumbnail,
List<int>? addedStickerFileIds,
int? duration,
int? width,
int? height,
FormattedText? caption,
}) => InputMessageAnimation(
animation: animation ?? this.animation,
thumbnail: thumbnail ?? this.thumbnail,
addedStickerFileIds: addedStickerFileIds ?? this.addedStickerFileIds,
duration: duration ?? this.duration,
width: width ?? this.width,
height: height ?? this.height,
caption: caption ?? this.caption,
);