src/Message/Traits/Multimedia.php
protected static function autoDownload($message, $force = false)
    {
        $isDownload = vbot('config')['download.'.static::TYPE];

        if ($isDownload || $force) {
            $resource = static::getResource($message);

            if ($resource) {
                File::saveTo(vbot('config')['user_path'].static::TYPE.DIRECTORY_SEPARATOR.
                    static::fileName($message), $resource);
            }
        }
    }
protected static function autoDownload($message, $force = false)
    {
        $isDownload = vbot('config')['download.'.static::TYPE];

        if ($isDownload || $force) {
            $resource = static::getResource($message);

            if ($resource) {
                File::saveTo(vbot('config')['user_path'].static::TYPE.DIRECTORY_SEPARATOR.
                    static::fileName($message), $resource);
            }
        }
    }
download resource to a default path.

@param $message
@param bool $force