use infobip_sdk::api::whatsapp::WhatsappClient; use infobip_sdk::configuration::Configuration; use infobip_sdk::model::whatsapp::{SendTextRequestBody, TextContent}; use reqwest::StatusCode; #[tokio::main] async fn main() { let client = WhatsappClient::with_configuration(Configuration::from_env_api_key().unwrap()); let request_body = SendTextRequestBody::new( "44444444444", "55555555555", TextContent::new("Hello, Rustacean!") ); let response = client.send_text(request_body).await.unwrap(); assert_eq!(response.status, StatusCode::OK); println!("Response: {:?}", response); }