public function sendVideoNote(
        $chatId,
        $videoNote,
        $duration = null,
        $length = null,
        $replyToMessageId = null,
        $replyMarkup = null,
        $disableNotification = false
    ) {
        return Message::fromResponse($this->call('sendVideoNote', [
            'chat_id' => $chatId,
            'video_note' => $videoNote,
            'duration' => $duration,
            'length' => $length,
            'reply_to_message_id' => $replyToMessageId,
            'reply_markup' => is_null($replyMarkup) ? $replyMarkup : $replyMarkup->toJson(),
            'disable_notification' => (bool)$disableNotification
        ]));
    }
public function sendVideoNote(
        $chatId,
        $videoNote,
        $duration = null,
        $length = null,
        $replyToMessageId = null,
        $replyMarkup = null,
        $disableNotification = false
    ) {
        return Message::fromResponse($this->call('sendVideoNote', [
            'chat_id' => $chatId,
            'video_note' => $videoNote,
            'duration' => $duration,
            'length' => $length,
            'reply_to_message_id' => $replyToMessageId,
            'reply_markup' => is_null($replyMarkup) ? $replyMarkup : $replyMarkup->toJson(),
            'disable_notification' => (bool)$disableNotification
        ]));
    }
public function sendVideoNote ( $ chatId , $ videoNote , $ duration = null , $ length = null , $ replyToMessageId = null , $ replyMarkup = null , $ disableNotification = false ) { return Message :: fromResponse ( $ this -> call ( 'sendVideoNote' , [ 'chat_id' => $ chatId , 'video_note' => $ videoNote , 'duration' => $ duration , 'length' => $ length , 'reply_to_message_id' => $ replyToMessageId , 'reply_markup' => is_null ( $ replyMarkup ) ? $ replyMarkup : $ replyMarkup -> toJson ( ) , 'disable_notification' => ( bool ) $ disableNotification ] ) ) ; }
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
Use this method to send video messages.
On success, the sent Message is returned.

@param int|string $chatId chat_id or @channel_name
@param \CURLFile|string $videoNote
@param int|null $duration
@param int|null $length
@param int|null $replyToMessageId
@param Types\ReplyKeyboardMarkup|Types\ReplyKeyboardHide|Types\ForceReply|
Types\ReplyKeyboardRemove|null $replyMarkup
@param bool $disableNotification

@return \TelegramBot\Api\Types\Message
@throws \TelegramBot\Api\InvalidArgumentException
@throws \TelegramBot\Api\Exception
As of v . 4 . 0 Telegram clients support rounded square mp4 videos of up to 1 minute long . Use this method to send video messages . On success the sent Message is returned .