Send encrypted messaged either W2W or S2W.
This endpoint allows you to send a new message to one of your conversations.
conversation_id
Unique identifier for the conversation the message belongs to.
message
The message content.
attachments
An array of attachment objects associated with the message.
import ApiClient from '@example/protocol-api' const client = new ApiClient(token) await client.messages.send({ conversation_id: 'xgQQXg3hrtjh7AvZ', message: 'You’re what the French call ‘les incompetents.’', })