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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//! # WhatsApp Cloud API SDK for Rust
//!
//! A Rust SDK for the [WhatsApp Cloud API](https://developers.facebook.com/docs/whatsapp/cloud-api)
//! hosted by Meta. This library provides a type-safe, async interface for integrating
//! WhatsApp Business messaging into your Rust applications.
//!
//! ## Features
//!
//! - **Messages**: Send text, media, templates, interactive messages, and more
//! - **Media**: Upload, download, and manage media files
//! - **Templates**: Work with message templates
//! - **Phone Numbers**: Manage business phone numbers
//! - **Products**: Catalog and product messages
//! - **Flows**: WhatsApp Flows support
//! - **Analytics**: Conversation and template analytics
//! - **QR Codes**: Generate and manage QR codes
//! - **Block Users**: Block/unblock users
//! - **WABA Management**: WhatsApp Business Account management
//! - **Webhooks**: Type-safe webhook payload parsing and subscription management
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use whatsapp_cloud_api::Client;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let client = Client::new("YOUR_ACCESS_TOKEN", "YOUR_PHONE_NUMBER_ID");
//!
//! // Send a text message
//! let response = client
//! .messages()
//! .send_text("628123456789", "Hello from Rust!")
//! .await?;
//!
//! println!("Message sent: {:?}", response.messages[0].id);
//! Ok(())
//! }
//! ```
pub use Client;
pub use ;