Class InputMediaVideoType.

see
package Default

 Methods

create()

create(string|\TgBotApi\BotApiBase\Type\InputFileType $media, array|null $data = null) : \TgBotApi\BotApiBase\Type\InputMedia\InputMediaVideoType
Static

Parameters

$media

string\TgBotApi\BotApiBase\Type\InputFileType

$data

arraynull

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

Returns

\TgBotApi\BotApiBase\Type\InputMedia\InputMediaVideoType

fill()

fill(array $data, array $forbidden = array()
Inherited

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

Optional. Video duration.

$duration : integer | null

Default

 

Optional. Video height.

$height : integer | null

Default

 

Optional. Pass True, if the uploaded video is suitable for streaming.

$supportStreaming : boolean | null

Default

 

Optional. Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size.

$thumb : \TgBotApi\BotApiBase\Type\InputFileType | string | null

Default

A thumbnail‘s width and height should not exceed 90. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://” if the thumbnail was uploaded using multipart/form-data under .

 

Optional. Video width.

$width : integer | null

Default