Interface InputPageBlockPhoto

A photo. Subtype of InputPageBlock.

interface InputPageBlockPhoto {
    @type: "inputPageBlockPhoto";
    caption: PageBlockCaption;
    has_spoiler?: boolean;
    photo: InputPhoto;
}

Properties

@type: "inputPageBlockPhoto"

Photo caption; pass null if none.

has_spoiler?: boolean

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

photo: InputPhoto

The photo to be sent.