Telegram\Bot\Api::sendVideo PHP Метод

sendVideo() публичный Метод

$params = [ 'chat_id' => '', 'video' => '', 'duration' => '', 'width' => '', 'height' => '', 'caption' => '', 'disable_notification' => '', 'reply_to_message_id' => '', 'reply_markup' => '', ];
См. также: sendDocument
public sendVideo ( array $params ) : Message
$params array
Результат Telegram\Bot\Objects\Message
    public function sendVideo(array $params)
    {
        $response = $this->uploadFile('sendVideo', $params);
        return new Message($response->getDecodedBody());
    }