Cisco Webex · Schema
CreateMessageRequest
CollaborationCommunicationsMeetingsMessagingTeamsVideo Conferencing
Properties
| Name | Type | Description |
|---|---|---|
| roomId | string | The room ID for the message. |
| toPersonId | string | Person ID to send a 1:1 message to. |
| toPersonEmail | string | Email address to send a 1:1 message to. |
| parentId | string | The parent message ID to reply to. |
| text | string | Plain text message content (max 7439 bytes). |
| markdown | string | Markdown-formatted message content (max 7439 bytes). |
| files | array | Public URL to a file attachment (one per message). |
| attachments | array | Card attachments with adaptive card content. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateMessageRequest",
"title": "CreateMessageRequest",
"type": "object",
"properties": {
"roomId": {
"type": "string",
"description": "The room ID for the message."
},
"toPersonId": {
"type": "string",
"description": "Person ID to send a 1:1 message to."
},
"toPersonEmail": {
"type": "string",
"format": "email",
"description": "Email address to send a 1:1 message to."
},
"parentId": {
"type": "string",
"description": "The parent message ID to reply to."
},
"text": {
"type": "string",
"description": "Plain text message content (max 7439 bytes).",
"maxLength": 7439
},
"markdown": {
"type": "string",
"description": "Markdown-formatted message content (max 7439 bytes).",
"maxLength": 7439
},
"files": {
"type": "array",
"description": "Public URL to a file attachment (one per message).",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 1
},
"attachments": {
"type": "array",
"description": "Card attachments with adaptive card content.",
"items": {
"type": "object",
"properties": {
"contentType": {
"type": "string"
},
"content": {
"type": "object"
}
}
}
}
}
}