1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:39:36 +01:00
MadelineProto/old_docs/API_docs_v46/constructors/video.md

944 B

title description
video video attributes, type and example

Constructor: video

Back to constructors index

Attributes:

Name Type Required
id long Required
access_hash long Required
date int 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, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ];