Constructor: pageBlockPhoto

Back to constructors index

A photo

Attributes:

Name Type Required Description
photo_id long Yes Photo ID
caption PageCaption Yes Caption
url string Optional HTTP URL of page the photo leads to when clicked
webpage_id long Optional ID of preview of the page the photo leads to when clicked

Type: PageBlock

Example:

$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => PageCaption, 'url' => 'string', 'webpage_id' => long];

Or, if you’re into Lua:

pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=PageCaption, url='string', webpage_id=long}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.