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