Constructor: page

Back to constructors index

Page

Attributes:

Name Type Required Description
part Bool Optional Part?
rtl Bool Optional Rtl?
v2 Bool Optional V2?
url string Yes URL
blocks Array of PageBlock Yes Blocks
photos Array of Photo Yes Photos
documents Array of Document Yes Documents

Type: Page

Example:

$page = ['_' => 'page', 'part' => Bool, 'rtl' => Bool, 'v2' => Bool, 'url' => 'string', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]];

Or, if you’re into Lua:

page={_='page', part=Bool, rtl=Bool, v2=Bool, url='string', blocks={PageBlock}, photos={Photo}, documents={Document}}

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