mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 14:34:39 +01:00
1.5 KiB
1.5 KiB
title | description |
---|---|
webPageExternal | webPageExternal attributes, type and example |
Constructor: webPageExternal
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}