slack_api = {version="0.23.1", features = ["sync", "reqwest_blocking"]} use std::env; use dotenv::dotenv; use slack_api::chat::PostMessageRequest; use tokio_compat_02::FutureExt; use futures::TryFutureExt; #[tokio::main] async fn main() { dotenv().unwrap(); let token = env::var("SLACK_BOT_TOKEN").unwrap(); let client = slack_api::default_client().unwrap(); let response = slack_api::chat::post_mess