1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
inputWebDocument | Web document | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputWebDocument
Web document
Attributes:
Name | Type | Required | Description |
---|---|---|---|
url | string | Yes | URL |
size | int | Yes | Size |
mime_type | string | Yes | Mime type |
attributes | Array of DocumentAttribute | Yes | Attributes |
Type: InputWebDocument
Example:
$inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]];
PWRTelegram json-encoded version:
{"_": "inputWebDocument", "url": "string", "size": int, "mime_type": "string", "attributes": [DocumentAttribute]}
Or, if you're into Lua:
inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}}