1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
documentAttributeVideo | Document attribute video | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: documentAttributeVideo
Document attribute video
Attributes:
Name | Type | Required | Description |
---|---|---|---|
round_message | Bool | Optional | Round message? |
supports_streaming | Bool | Optional | Supports streaming? |
duration | int | Optional | Duration |
w | int | Optional | Width |
h | int | Optional | Height |
Type: DocumentAttribute
Example:
$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'supports_streaming' => Bool, 'duration' => int, 'w' => int, 'h' => int];
PWRTelegram json-encoded version:
{"_": "documentAttributeVideo", "round_message": Bool, "supports_streaming": Bool, "duration": int, "w": int, "h": int}
Or, if you're into Lua:
documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, supports_streaming=Bool, duration=int, w=int, h=int}