Skip to content

Client

Create and configure the API client.

evo_client()
Create an Evolution API client

Send Messages

Functions to send different types of WhatsApp messages.

send_text()
Send a plain text message
send_media()
Send media (image, video, document)
send_whatsapp_audio()
Send WhatsApp audio (voice note)
send_sticker()
Send a sticker
send_location()
Send a location
send_contact()
Send a WhatsApp contact (auto-generate wuid)
send_status()
Send a WhatsApp Status (story)
send_reaction()
React to a message
send_buttons()
Send interactive buttons
send_poll()
Send a poll
send_list()
Send a list message

Chat Utilities

Query and verify WhatsApp numbers.

check_is_whatsapp()
Check if numbers are on WhatsApp
jid()
Build a WhatsApp JID from a raw phone number

Internals

Internal helper functions (not exported).

.assert_scalar_string()
Assert that a value is a single non-empty string
.compact()
Compact a list removing NULL elements
.evo_path()
Build internal API path
.evo_post()
Perform a JSON POST request (internal)
.normalize_media()
Normalise media input (URL, file path, base64, data-URI)