messages.getWebPage

Get instant view page

webPageEmpty#eb1477e8 id:long = WebPage;
webPagePending#c586da1c id:long date:int = WebPage;
webPage#fa64e172 flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document documents:flags.11?Vector<Document> cached_page:flags.10?Page = WebPage;
webPageNotModified#85849473 = WebPage;
---functions---
messages.getWebPage#32ca8f91 url:string hash:int = WebPage;

Parameters

Name Type Description
url string URL of IV page to fetch
hash int Hash for pagination, for more info click here

Result

WebPage

Possible errors

Code Type Description
400 BOT_METHOD_INVALID This method can't be used by a bot
400 WC_CONVERT_URL_INVALID WC convert URL invalid

Related pages

Pagination in the API

How to fetch results from large lists of objects.