Class SendVideoNoteMethod.
see | |
---|---|
package | Default |
create(integer|string $chatId, \TgBotApi\BotApiBase\Type\InputFileType|string $videoNote, array|null $data = null
) : \TgBotApi\BotApiBase\Method\SendVideoNoteMethod
integer
string
\TgBotApi\BotApiBase\Type\InputFileType
string
array
null
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
\TgBotApi\BotApiBase\Method\SendVideoNoteMethod
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$allowSendingWithoutReply : boolean | null
$disableNotification : boolean | null
$duration : integer | null
$length : integer | 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://
$videoNote : \TgBotApi\BotApiBase\Type\InputFileType | string
Pass a file_id as String to send a video note that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. Sending video notes by a URL is currently unsupported.