1 unstable release
0.1.0 | Jan 25, 2023 |
---|
#67 in #send-message
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