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