Module clickatell_api::one_api
source · [−]Expand description
Send SMS and Whatsapp message via the Clickatell One API messaging gateweay
One API
The Clickatell One API is a combined gateway for both SMS and Whatsapp messages.
ⓘ
let client = Client::new(api_key)?;
if let Ok(status_response) = client.message_status(message_id).await? {
println!("Message Status: #{status_response}")
}
if let Ok(balance_response) = client.balance().await? {
println!("Balance: {balance_response}");
}Modules
Structs
Clickatell One messaging gateway client
Used to create a Client that can point to a different URL than the default Clickatell One gateway