MadelineProtoDocs/docs/API_docs/constructors/documentAttributeVideo_23.md
2019-12-27 17:48:04 +01:00

859 B

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

Constructor: documentAttributeVideo_23

Back to constructors index

Defines a video

Attributes:

Name Type Required Description
duration int Optional Duration in seconds
w int Optional Video width
h int Optional Video height

Type: DocumentAttribute

Example:

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

Or, if you're into Lua:

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