1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! # One API
//! The Clickatell One API is a combined gateway for both SMS and Whatsapp messages.
//!
//! ```rust,ignore
//! 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}");
//! }
//! ```

pub mod balance;
mod channel;
mod client;
mod error;
pub mod message_status;
mod result;
pub mod send_messages;

pub use channel::Channel;
pub use client::{Client, ClientBuilder};
pub use error::Error;
pub use result::Result;