RichBlockPhoto
A block with a photo, corresponding to the HTML tag <photo>.
Properties
type
ts
type: "photo";Type of the block, always “photo”
photo
ts
photo: PhotoSize[];Available sizes of the photo
has_spoiler
ts
has_spoiler?: true;True, if the media preview is covered by a spoiler animation
caption
ts
caption?: RichBlockCaption;Caption of the block