copyWith method
Implementation
@override
MessagePhoto copyWith({
Photo? photo,
FormattedText? caption,
bool? isSecret,
}) => MessagePhoto(
photo: photo ?? this.photo,
caption: caption ?? this.caption,
isSecret: isSecret ?? this.isSecret,
);