class Video extends BaseObject (View source)

Class Video.

Methods

__construct( array|mixed $data)

Builds collection entity.

from  BaseObject
array
relations()

Property relations.

mixed|BaseObject
get( mixed $key, mixed $default = null)

Get an item from the collection by key.

from  BaseObject
array|void
mapRelatives()

Map property relatives to appropriate objects.

from  BaseObject
array|mixed
getRawResponse()

Returns raw response.

from  BaseObject
mixed
getRawResult($data)

Returns raw result.

from  BaseObject
mixed
getStatus()

Get Status of request.

from  BaseObject
mixed
__call($name, $arguments)

Magic method to get properties dynamically.

from  BaseObject
string
getFileId()

Unique identifier for this file.

int
getWidth()

Video width as defined by sender.

int
getHeight()

Video height as defined by sender.

int
getDuration()

Duration of the video in seconds as defined by sender.

PhotoSize
getThumb()

(Optional). Video thumbnail.

string
getMimeType()

(Optional). Mime type of a file as defined by sender.

int
getFileSize()

(Optional). File size.

Details

in BaseObject at line 17
__construct( array|mixed $data)

Builds collection entity.

Parameters

array|mixed $data

at line 22
array relations()

Property relations.

Return Value

array

in BaseObject at line 39
mixed|BaseObject get( mixed $key, mixed $default = null)

Get an item from the collection by key.

Parameters

mixed $key
mixed $default

Return Value

mixed|BaseObject

in BaseObject at line 53
array|void mapRelatives()

Map property relatives to appropriate objects.

Return Value

array|void

in BaseObject at line 83
array|mixed getRawResponse()

Returns raw response.

Return Value

array|mixed

in BaseObject at line 95
mixed getRawResult($data)

Returns raw result.

Parameters

$data

Return Value

mixed

in BaseObject at line 105
mixed getStatus()

Get Status of request.

Return Value

mixed

in BaseObject at line 118
mixed __call($name, $arguments)

Magic method to get properties dynamically.

Parameters

$name
$arguments

Return Value

mixed

at line 17
string getFileId()

Unique identifier for this file.

Return Value

string

at line 17
int getWidth()

Video width as defined by sender.

Return Value

int

at line 17
int getHeight()

Video height as defined by sender.

Return Value

int

at line 17
int getDuration()

Duration of the video in seconds as defined by sender.

Return Value

int

at line 17
PhotoSize getThumb()

(Optional). Video thumbnail.

Return Value

PhotoSize

at line 17
string getMimeType()

(Optional). Mime type of a file as defined by sender.

Return Value

string

at line 17
int getFileSize()

(Optional). File size.

Return Value

int