Class SendDocumentMethod.
see | |
---|---|
package | Default |
create(integer|string $chatId, \TgBotApi\BotApiBase\Type\InputFileType|string $document, array $data = null
)
integer
string
\TgBotApi\BotApiBase\Type\InputFileType
string
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$allowSendingWithoutReply : boolean | null
$disableContentTypeDetection : boolean | null
$disableNotification : boolean | null
$document : \TgBotApi\BotApiBase\Type\InputFileType | string
$parseMode : string | null
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardRemoveType | \TgBotApi\BotApiBase\Type\ForceReplyType | null
$replyToMessageId : integer | null
$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://