Class InputMediaDocumentType.

see
package Default

 Methods

create()

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

Parameters

$media

string\TgBotApi\BotApiBase\Type\InputFileType

$data

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

fill()

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

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

Optional. Disables automatic server-side content type detection for files uploaded using multipart/form-data.

$disableContentTypeDetection : boolean | null

Default

Always true, if the document is sent as part of an album.

 

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 .