mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
932 B
932 B
title | description | nav_exclude | image |
---|---|---|---|
documentAttributeVideo | Defines a video | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: documentAttributeVideo_66
Defines a video
Attributes:
Name | Type | Required | Description |
---|---|---|---|
round_message | Bool | Optional | Whether this is a round video |
duration | int | Optional | Duration in seconds |
w | int | Optional | Video width |
h | int | Optional | Video height |
Type: DocumentAttribute
Example:
$documentAttributeVideo_66 = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int];