1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 14:34:39 +01:00
MadelineProto/old_docs/API_docs_v44/constructors/webPageExternal.md
2017-07-23 16:33: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}