This is a library for integrating Slack in your flow function for test.flows.network.

Example usage

```rust use slackflows::{ listentochannel, messagefromchannel, revokelisteners, sendmessageto_channel, };

[no_mangle]

pub fn register() { revokelisteners(); listento_channel("myworkspace", "mychannel") { }

[no_mangle]

pub fn work() { if let Some(sm) = messagefromchannel() { sendmessageto_channel("myworkspace", "mychannel", format!("Hello, {}", sm.text)); } } ```

In register() the listen_to_channel will create a listener for new message from channel mychannel in workspace myworkspace.

When a new message is sent to mychannel, the work() will be called. We get the SlackMessage using message_from_channel then send_message_to_channel.

The whole document is here.