Constructor: webPage

Back to constructors index

Web page


Name Type Required Description
id long Yes ID
url string Yes URL
display_url string Yes Display URL
hash int Yes Hash
type string Optional Type
site_name string Optional Site name
title string Optional Title
description string Optional Description
photo Photo Optional Photo
embed_url string Optional Embed URL
embed_type string Optional Embed type
embed_width int Optional Embed width
embed_height int Optional Embed height
duration int Optional Duration
author string Optional Author
document Document Optional Document
cached_page Page Optional Cached page

Type: WebPage


$webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page];

Or, if you’re into Lua:

webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page}

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