| Crates.io | dingtalk_robot |
| lib.rs | dingtalk_robot |
| version | 0.2.0 |
| created_at | 2023-05-02 09:26:49.198702+00 |
| updated_at | 2024-10-03 15:29:43.386884+00 |
| description | DingTalk Robot |
| homepage | |
| repository | https://github.com/rise0chen/dingtalk |
| max_upload_size | |
| id | 854355 |
| size | 14,768 |
钉钉自定义机器人
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();
}