Send WhatsApp audio (voice note)
send_whatsapp_audio(
client,
number,
audio,
delay = NULL,
link_preview = NULL,
mentions_everyone = NULL,
mentioned = NULL,
quoted = NULL,
verbose = FALSE
)A named list parsed from the JSON response produced by the Evolution API for
audio messages.
The list may include message ID, queue metadata, and delivery-related fields.
The HTTP status code is stored in attr(result, "http_status").
This output indicates that the audio message request was accepted by the API.
An evo_client() object.
Character. Recipient in E.164 format (e.g., "+5581999...").
URL or base64.
Integer (ms). Optional presence delay before sending.
Logical. Enable URL link preview.
Logical. Mention everyone (if applicable).
Character vector of JIDs to mention (e.g., jid("+55...")).
Optional list with Baileys message key and message (reply-to).
Logical. If TRUE, logs request/response details.