1 unstable release
0.1.0 | Jan 25, 2023 |
---|
#60 in #slack
3KB
send_slack
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();
}
Dependencies
~16KB