#slack #send-message #windows

send_slack

send message to slack in windows

1 unstable release

0.1.0 Jan 25, 2023

#67 in #send-message

MIT license

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();
}

image

Dependencies

~16KB