You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day!
Can you help me with erros. I break my mind to find where is problem.
Trying to use your library in blank laravel project, but getting error
And get error.
FatalErrorExceptionClass name must be a valid object or a string in D:\wamp64\www\bot-app\vendor\radutopala\skype-bot-php\src\Skype\Client.php line 62
Controller
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Skype\Client;
class botsend extends Controller
{
public function index(Request $request)
{
$client = new Client([
'clientId' => 'id',
'clientSecret' => 'secret',
'fileTokenStoragePath' => ('./key.txt') //try with and without this string
]);
$api = $client->authorize()->api('conversation'); // Skype\Api\Conversation
$api->activity('29:userid', 'Your message');
}
}
Good day!
Can you help me with erros. I break my mind to find where is problem.
Trying to use your library in blank laravel project, but getting error
And get error.
Controller
composer.json:
php:
OS - Windows 10 x64 build 1703, 15063.540
The text was updated successfully, but these errors were encountered: