BusinessChatSendMessageRequest object
| Field | Type | Description |
|---|---|---|
conversationIdrequired | string | MongoDB ObjectId of the conversation |
isReplyrequired | string | Whether this message is a reply. When `true`, `parentMessageProviderId` is required. When `false`, `parentMessageProviderId` must not be provided. |
parentMessageProviderId | string | Provider id of the parent message when `isReply` is `true`. |
referencedMessageId | string | Optional referenced message id. |
content | string | Text body of the message. |
type | string | Message type. For media types, provide `fileUrl` or `fileId`. Location is not supported. |
fileUrl | string (uri) | Public HTTP(S) URL of media to download and send. Must be a direct media file (not an HTML page). Mutually exclusive with `fileId` and multipart `file`. |
fileId | string | Existing file/attachment id for media messages. Mutually exclusive with `fileUrl` and multipart `file`. |
virtualId | string | Optional client-generated id for correlating the outbound message. |
interactive | object | Interactive payload for WhatsApp list or Instagram quick replies. Location request payloads are not documented/supported for Developer API. |
mentions | string[] | Optional array of user mention ids. |
isPrivate | boolean | When true, stores the message as a private note. |
meta_data | object | Optional arbitrary metadata. |