MadelineProtoDocs/old_docs/API_docs_v44/constructors/webPageExternal.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.7 KiB

title description image
webPageExternal Web page external https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: webPageExternal

Back to constructors index

Web page external

Attributes:

Name Type Required Description
url string Yes URL
display_url string Yes Display URL
type string Optional Type
title string Optional Title
description string Optional Description
thumb_url string Optional Thumbnail URL
content_url string Optional Content URL
w int Optional Width
h int Optional Height
duration int Optional Duration

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}