MadelineProto/old_docs/API_docs_v44/constructors/webPageExternal.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.5 KiB

title description
webPageExternal webPageExternal attributes, type and example

Constructor: webPageExternal

Back to constructors index

Attributes:

Name Type Required
url string Yes
display_url string Yes
type string Optional
title string Optional
description string Optional
thumb_url string Optional
content_url string Optional
w int Optional
h int Optional
duration int Optional

Type: WebPage

Example:

$webPageExternal = ['_' => 'webPageExternal', 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'w' => int, 'h' => int, 'duration' => int];

PWRTelegram json-encoded version:

{"_": "webPageExternal", "url": "string", "display_url": "string", "type": "string", "title": "string", "description": "string", "thumb_url": "string", "content_url": "string", "w": int, "h": int, "duration": int}

Or, if you're into Lua:

webPageExternal={_='webPageExternal', url='string', display_url='string', type='string', title='string', description='string', thumb_url='string', content_url='string', w=int, h=int, duration=int}