2.1 KiB
2.1 KiB
title | description | image |
---|---|---|
webPage | Web page | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: webPage
Web page
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | long | Yes | ID |
url | string | Yes | URL |
display_url | string | Yes | Display URL |
type | string | Optional | Type |
site_name | string | Optional | Site name |
title | string | Optional | Title |
description | string | Optional | Description |
photo | Photo | Optional | Photo |
embed_url | string | Optional | Embed URL |
embed_type | string | Optional | Embed type |
embed_width | int | Optional | Embed width |
embed_height | int | Optional | Embed height |
duration | int | Optional | Duration |
author | string | Optional | Author |
Type: WebPage
Example:
$webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string'];
PWRTelegram json-encoded version:
{"_": "webPage", "id": long, "url": "string", "display_url": "string", "type": "string", "site_name": "string", "title": "string", "description": "string", "photo": Photo, "embed_url": "string", "embed_type": "string", "embed_width": int, "embed_height": int, "duration": int, "author": "string"}
Or, if you're into Lua:
webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string'}