Skip to main content

decode_file

Function decode_file 

Source
fn decode_file(body: &str) -> Result<SlackFile, SlackError>
Expand description

Split out of the async path so the decode is testable without HTTP.