1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
video | Video | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: video
Video
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | long | Yes | ID |
access_hash | long | Yes | Access hash |
user_id | int | Yes | User ID |
date | int | Yes | Date |
caption | string | Yes | Caption |
duration | int | Yes | Duration |
mime_type | string | Yes | Mime type |
size | int | Yes | Size |
thumb | PhotoSize | Optional | Thumbnail |
dc_id | int | Yes | DC ID |
w | int | Yes | Width |
h | int | Yes | Height |
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];
Or, if you're into Lua:
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}