TimSDK
1.0.0
Im SDK untuk pesan instan tencent.
$ composer require " jimchen/tim-sdk:^2.0 " Penggunaan Dasar:
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