<?php
class sinusbot_stream {
public function token($instanceUuid){
if(!sinusbot::checkLogin()){
return false;
}
$result = sinusbot::sendRequest('bot/i/'.$instanceUuid.'/streamToken');
if(sinusbot::checkResult($result, ':(!')){
return true;
}
return false;
}
}