3 unstable releases

0.2.0 Oct 3, 2024
0.1.1 May 2, 2023
0.1.0 May 2, 2023

#5 in #msg

MIT license

12KB
283 lines

DingtalkRobot

钉钉自定义机器人

Usage

use dingtalk_robot::{DingTalk, msg::Message};

#[tokio::main]
pub async fn main() {
    let dt = DingTalk::new("<access_token>", "<secret_token>");
    dt.send(Message::new_text("Hello world!".into())).await.unwrap();
}

Dependencies

~5–16MB
~205K SLoC