whatspp-cloud-api-rs

Crates.iowhatspp-cloud-api-rs
lib.rswhatspp-cloud-api-rs
version0.1.0
sourcesrc
created_at2022-05-21 20:57:39.13141
updated_at2022-05-21 20:57:39.13141
descriptionWhatsapp Cloud API Rust Client
homepagehttps://github.com/sajuthankappan/whatsapp-cloud-api-rs
repositoryhttps://github.com/sajuthankappan/whatsapp-cloud-api-rs
max_upload_size
id590868
size9,018
core (github:oxidizer-rs:core)

documentation

README

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

Commit count: 26

cargo fmt