marianoguerra/slack/api does not have a README file
pub(open) trait Transport {
async fn send(Self, HttpRequest) -> HttpResponse
fn describe(Self) -> String
}pub(all) suberror SlackError {
RequestError(String)
HttpError(status~ : Int, headers~ : Map[String, String], body~ : String)
PlatformError(result~ : ApiResponse)
RateLimitedError(retry_after~ : Int)
FileUploadInvalidArgumentsError(String)
FileUploadReadFileDataError(String)
} derive(Debug)impl Show for SlackErrorpub(all) struct ApiResponse {
ok : Bool
error : String?
warning : String?
needed : String?
provided : String?
response_metadata : ResponseMetadata
raw : Json
} derive(Eq, Debug)fn build_request(base_url : String, api_method : String, params : Params, token? : String, extra_headers? : Map[String, String], bool_style? : BoolStyle) -> HttpRequestfn normalize_api_url(url : String) -> Stringfn parse_retry_after(header : String) -> Int?fn percent_decode_component(s : String) -> Stringfn percent_encode_component(s : String) -> Stringlet user_agent : StringSlack Web API client: typed requests for the core method families, a generic call for the rest, Block Kit, cursor pagination, rate-limit tiers and request-signature verification. No dependencies; runs on every backend.