PHP code example of cccdl / tencent_im_sdk
1. Go to this page and download the library: Download cccdl/tencent_im_sdk 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/ */
cccdl / tencent_im_sdk example snippets
use cccdl\tencent_im_sdk\Im\ImOpenLoginSvc;
$im = new imOpenLoginSvc($appId, $key, $identifier);
$res = $im->queryState(['1000001', '1000002']);