mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-04 09:07:47 +01:00
1.1 KiB
1.1 KiB
title | description |
---|---|
video | video attributes, type and example |
Constructor: video
Attributes:
Name | Type | Required |
---|---|---|
id | long | Required |
access_hash | long | Required |
user_id | int | Required |
date | int | Required |
caption | string | Required |
duration | int | Required |
mime_type | string | Required |
size | int | Required |
thumb | PhotoSize | Required |
dc_id | int | Required |
w | int | Required |
h | int | Required |
Type: Video
Example:
$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ];