Skip to main content

send_message

Function send_message 

Source
pub async fn send_message(
    http: &Client,
    config: &WhatsAppConfig,
    window_state: &Mutex<HashMap<String, u64>>,
    msg: &OutboundMsg,
) -> Result<(), String>
Expand description

POST /{phone_number_id}/messages