MadelineProtoDocs/old_docs/API_docs_v44/constructors/webPageExternal.md
2018-04-01 13:24:46 +02: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}