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

984 B

title description image
documentAttributeVideo Document attribute video https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: documentAttributeVideo

Back to constructors index

Document attribute video

Attributes:

Name Type Required Description
duration int Optional Duration
w int Optional Width
h int Optional Height

Type: DocumentAttribute

Example:

$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int];

PWRTelegram json-encoded version:

{"_": "documentAttributeVideo", "duration": int, "w": int, "h": int}

Or, if you're into Lua:

documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int}