send_slack

Crates.iosend_slack
lib.rssend_slack
version0.1.0
sourcesrc
created_at2023-01-25 09:39:33.018321
updated_at2023-01-25 09:39:33.018321
descriptionsend message to slack in windows
homepage
repositoryhttps://github.com/8bitTD/send_slack
max_upload_size
id767217
size2,605
8bit (8bitTD)

documentation

README

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

Commit count: 7

cargo fmt