[][src]Function twrs_sms::send_message

pub fn send_message(
    account_sid: &str,
    auth_token: &str,
    body: String
) -> Result<Response, TWRSError>

Main function of the library which sends the request and returns the response response. Will error out on a TWRSError::HTTPRequestError if the send results in a failure