TimSDK
1.0.0
IM SDK สำหรับการส่งข้อความโต้ตอบแบบทันที Tencent
$ 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 ' );มิกซ์