//! The type that represents a request for Slack API.
use sfr_types as st;
use crate::Client;
/// The type that represents a request for Slack API.
pub trait Request {
/// The type that represents a request of `chat.postMessage`.
type Response;
/// Requests to the API that represents this type.
fn request(
self,
client: &Client,
) -> impl std::future::Future<Output = Result<Self::Response, st::Error>> + Send;
}