Crates.io | dingtalk_robot |
lib.rs | dingtalk_robot |
version | |
source | src |
created_at | 2023-05-02 09:26:49.198702 |
updated_at | 2024-10-03 15:29:43.386884 |
description | DingTalk Robot |
homepage | |
repository | https://github.com/rise0chen/dingtalk |
max_upload_size | |
id | 854355 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
钉钉自定义机器人
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();
}