Skip to main content

CreateChatMessageDto

contentstringrequired

Message text. May be sent alongside file attachments.

Example: Shift handover complete, see you tomorrow.
messageTypestring

Type of message. Defaults to text.

Possible values: [text, image, video, audio, file, voice_note, system, link]

parentMessageIdstring

ID of the message being replied to, if any

mentionsstring[]

User IDs mentioned in the message

metadataobject

Arbitrary client metadata, e.g. base64 thumbnails for attached files

CreateChatMessageDto
{
"content": "Shift handover complete, see you tomorrow.",
"messageType": "text",
"parentMessageId": "string",
"mentions": [
"string"
],
"metadata": {}
}