tcloud-im-api

Crates.iotcloud-im-api
lib.rstcloud-im-api
version0.2.1
sourcesrc
created_at2021-12-21 01:38:33.544085
updated_at2022-01-10 05:44:37.153736
descriptiona rust implement tcloud im api
homepage
repositoryhttps://gitee.com/sezi_yuan/tcloud-im-api.git
max_upload_size
id500952
size33,447
(sezi-yuan)

documentation

README

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?;
}

Commit count: 0

cargo fmt