MadelineProto/old_docs/API_docs_v23/constructors/video.md

1.1 KiB

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