#whatsapp #api-client #cloud #api-bindings #message

yanked whatspp-cloud-api

Whatsapp Cloud API Rust Client

0.1.1 May 21, 2022
0.1.0 May 21, 2022

#6 in #whatsapp

MIT/Apache

8KB
166 lines

whatsapp-cloud-api-rs   Latest Version Docs

RWhatsapp Cloud API Rust Client

Usage example

let access_token = "<access_token>";
    let to = "<to>";
    let template_name = "hello_world";
    let language = "en_US";
    let template = Template::new(template_name, language);
    let message = Message::from_template(&to, template);
    let client = WhatsppClient::new(&access_token);
    client.send_message(&message).await?;

For more examples, please see the tests folder

Dependencies

~4–16MB
~221K SLoC