SendMessage
A message sent from the client to the server. Fields like status and trace_id
are server-managed and should not be included.
Common fields shared by client-sent and server-delivered messages
- blocksType: arrayrequired
Content blocks. Client-sent messages support
textblocks andimage_referenceblocks. A message with an attached image carries both: thetextblock for the caption (omitted when the user sends the image on its own) and theimage_referenceblock for the image itself. - channelType: string
_id _from deprecatedrequiredChannel identifier of the sender
- conversationType: stringFormat: uuid
_id deprecatedrequiredUUID of the conversation
- interactionType: stringFormat: uuid
_id requiredGroups related messages in a request/response interaction
- messageType: stringFormat: uuid
_id requiredUnique message identifier
- Properties: 2participantType:
_from required - sentType: stringFormat: date-time
_at requiredISO 8601 timestamp