#im #api #tcloud

tcloud-im-api

a rust implement tcloud im api

5 releases

0.2.1 Jan 10, 2022
0.2.0 Dec 22, 2021
0.1.2 Dec 21, 2021
0.1.1 Dec 21, 2021
0.1.0 Dec 21, 2021

#7 in #im

MIT/Apache

22KB
615 lines

tcloud-im-api

rust实现的腾讯云IM接口SDK

  • 账号
  • 消息

Usage

use tcloud-im-api as api

async fn do_request() {
    let sdkappid = 000000000;
    let manager_identifier = "your_identifier";
    let key = "your_key";

    let client = Clientx::new(sdkappid, manager_identifier, key);
    let resp = client.account().import(account::Account{
        face_url: "https://xxx.xxx".to_owned(),
        nick: "a name".to_owned(),
        identifier: "identifier".to_owned()
    }).await?;
}

Dependencies

~14–28MB
~398K SLoC