Skip to main content

Audio Message

POST 

/message/sendWhatsAppAudio

Send an audio in whatsapp format, It can be either a url or a mediaId.

Request

Body

required
    numbers string[]required

    required

    options object
    delay number

    The delay property can receive either a single integer value or an array of two-position integers.

    quoted object

    Inform the id of the message you want to quote, remembering that you can only quote one message at a time in the chat.

    messageId stringrequired
    mentions object

    Mention people in groups or simple chats.

    everyone boolean

    Default value: false

    Pass this property to "true" to mention everyone in a group
    default: false

    ghostMention boolean

    Default value: false

    Mention all participants in a group without directly referencing them
    default: false

    mentioned string[]

    The mention of participants is valid only for groups

    presence Presence

    Default value: paused | composing | unavailable | available | recording

    Set your status in chat

    whatsappAudio object
    audio stringrequired

    The url must not contain parameters and must end with the .opus extension.

Responses

Schema
    queueId string
Loading...