Class InputMediaDocumentType.
see | |
---|---|
package | Default |
create(string|\TgBotApi\BotApiBase\Type\InputFileType $media, array $data = null
)
string
\TgBotApi\BotApiBase\Type\InputFileType
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$disableContentTypeDetection : boolean | null
Always true, if the document is sent as part of an album.
$thumb : \TgBotApi\BotApiBase\Type\InputFileType | string | null
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://