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