TimSDK
1.0.0
Tencentインスタントメッセージングのためのimsdk。
$ composer require " jimchen/tim-sdk:^2.0 " 基本的な使用法:
use TimSDK ;
$ options = [
' app_id ' => ' 14000xxxx ' ,
' identifier ' => ' admin ' ,
' key ' => ' Your key ' ,
' http ' => [
' timeout ' => 30 ,
],
];
$ app = new TimSDK Application ( $ options );
$ collect = $ app -> account -> import ( ' identifier ' , ' nickname ' , ' faceUrl ' );mit