#slack #send-message #windows

send_slack

在Windows中发送Slack消息

1个不稳定版本

0.1.0 2023年1月25日

60 in #slack

MIT许可证

3KB

send_slack

向Slack发送消息,在Windows 10环境中工作

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

依赖项

~16KB