wuapi 0.11.0

Rust SDK for wuapi, a WhatsApp API for developers. Link numbers by QR or pairing code, send and receive messages, manage chats, contacts, groups and channels, split them into projects and verify webhooks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Generated by wuapi-codegen from the OpenAPI spec. Do not edit: run `bun run codegen`.

//! Constants of this crate and of the API.

/// The version of this crate.
pub const VERSION: &str = "0.11.0";
/// The name of this crate.
pub const PACKAGE_NAME: &str = "wuapi";
/// The API's production URL.
pub const DEFAULT_BASE_URL: &str = "https://api.wuapi.dev";
/// Environment variable the API key is read from.
pub const API_KEY_ENV: &str = "WUAPI_API_KEY";
/// Header that scopes a request to a project.
pub const PROJECT_HEADER: &str = "Wuapi-Project";
/// Header that makes a request safe to retry.
pub const IDEMPOTENCY_HEADER: &str = "Idempotency-Key";
/// The `User-Agent` this crate sends.
pub const USER_AGENT: &str = "wuapi-rust/0.11.0";