Constructor: documentAttributeVideo_23

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_23 = ['_' => '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_23={_='documentAttributeVideo', duration=int, w=int, h=int}