mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
815 B
815 B
title | description | nav_exclude | image |
---|---|---|---|
documentAttributeVideo | Defines a video | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: documentAttributeVideo_23
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];