{ "type": "object", "description": "Request payload for sending a message to a thread.", "name": "SendMessageRequest", "properties": { "type": { "type": "string", "description": "Type of message to send", "enum": [ "MESSAGE", "COMMENT" ] }, "text": { "type": "string", "description": "Plain text content of the message" }, "richText": { "type": "string", "description": "Rich text (HTML) content" }, "senderActorId": { "type": "string", "description": "Actor ID of the sender" }, "channelId": { "type": "string", "description": "Channel to send on" }, "channelAccountId": { "type": "string", "description": "Channel account to use" }, "recipients": { "type": "array", "description": "Message recipients", "items": { "type": "object", "description": "Recipient information for a message.", "properties": { "actorId": { "type": "string", "description": "Actor ID of the recipient" } } } } }, "required": [ "type", "text", "senderActorId" ], "$schema": "https://json-structure.org/draft/2020-12/schema" }