Actions22
Chat → Enviar Mensagem
AI-generatedSummary
Send a text message to a specified chat in Chatlabs, optionally including a file attachment and specifying the sending attendant.
Inputs
- ID do Chat (required) — The ID of the chat to which the message will be sent.
- Texto (required) — The text content of the message to send.
- ID do Atendente — The ID of the attendant sending the message, if applicable.
- Enviar Arquivo — Boolean flag to enable sending a file along with the message.
- Binary Property (required) — The name of the binary property containing the file to send, required if sending a file.
Output shape
The response JSON object returned by the API, which reflects the sent message or an acknowledgement from the Chatlabs API.
If sending a file, the request is sent as multipart/form-data including the file blob; otherwise, a JSON request is sent. The output corresponds to the API response for message creation.
