Video
class Video extends BaseObject (View source)
Class Video
Methods
No description
Get an item from the collection by key.
Unique identifier for this file.
Video width as defined by sender.
Video height as defined by sender.
Duration of the video in seconds as defined by sender.
(Optional). Video thumbnail.
(Optional). Mime type of a file as defined by sender.
(Optional). File size.
Details
in
BaseObject at line 19
__construct(
array|mixed $data)
Builds collection entity.
at line 23
array
relations()
in
BaseObject at line 41
mixed|BaseObject
get(
mixed $key,
mixed $default = null)
Get an item from the collection by key.
in
BaseObject at line 55
array|void
mapRelatives()
Map property relatives to appropriate objects.
in
BaseObject at line 80
array|mixed
getRawResponse()
Returns raw response.
in
BaseObject at line 92
mixed
getRawResult($data)
Returns raw result.
in
BaseObject at line 102
mixed
getStatus()
Get Status of request.
in
BaseObject at line 116
mixed
__call($name, $arguments)
Magic method to get properties dynamically.
at line 18
string
getFileId()
Unique identifier for this file.
at line 18
int
getWidth()
Video width as defined by sender.
at line 18
int
getHeight()
Video height as defined by sender.
at line 18
int
getDuration()
Duration of the video in seconds as defined by sender.
at line 18
PhotoSize
getThumb()
(Optional). Video thumbnail.
at line 18
string
getMimeType()
(Optional). Mime type of a file as defined by sender.
at line 18
int
getFileSize()
(Optional). File size.