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, ];