Interface PageBlockPhoto

A photo. Subtype of PageBlock.

interface PageBlockPhoto {
    @type: "pageBlockPhoto";
    caption: PageBlockCaption;
    has_spoiler?: boolean;
    photo: Photo;
    url: string;
}

Properties

@type: "pageBlockPhoto"

Photo caption; may be null if none.

has_spoiler?: boolean

True, if the photo preview must be covered by a spoiler animation.

photo: Photo

Photo file; may be null.

url: string

URL that needs to be opened when the photo is clicked; instant view only.