Skip to main content

Media Message

POST 

/message/sendMedia

Media Message

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

    mediaMessage object
    caption caption - description - title
    mediaType Type of media message to be sent
    fileName File namerequired

    Enter the file name along with its extension.

    urlOrId Pass the media url being of the specified typerequired

Responses

Schema
    queueId string
Loading...