$uuid
$uuid : array
UUID holds the File UUID
Class File
File represents a single File of the SinusBot
__construct(\SinusBot\API $api, array $file)
__construct
\SinusBot\API | $api | SinusBot API |
array | $file | SiusBot File array |
request(string $path, string $method = "GET", string $payload = null, boolean $encoded = false) : array
request executes a request to the SinusBot API
string | $path | /api/v1/ |
string | $method | http method |
string | $payload | http POST payload |
boolean | $encoded | when not encoded it will be JSON marshalled |
decoded JSON response