Crates.io | send_slack |
lib.rs | send_slack |
version | 0.1.0 |
source | src |
created_at | 2023-01-25 09:39:33.018321 |
updated_at | 2023-01-25 09:39:33.018321 |
description | send message to slack in windows |
homepage | |
repository | https://github.com/8bitTD/send_slack |
max_upload_size | |
id | 767217 |
size | 2,605 |
Send a message to slack Works in windows10 environment
use send_slack;
fn main() {
let tkn: &str = "xxxx-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
let cnl: &str = "channel_name";
let usr: &str = "user_name";
let msg: &str = "test_send_message!";
send_slack::send_slack(tkn, cnl, usr, msg).unwrap();
}