PHP code example of radutopala / skype-bot-php
1. Go to this page and download the library: Download radutopala/skype-bot-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
radutopala / skype-bot-php example snippets
use Skype\Client;
$client = new Client([
'clientId' => '<yourClientId>',
'clientSecret' => '<yourClientSecret>',
]);
$api = $client->authorize()->api('conversation'); // Skype\Api\Conversation
$api->activity('29:<skypeHash>', 'Your message');
$ composer
php skype.phar auth <yourClientId>
php skype.phar conversation:activity <to> <message>