messagebird · Schema
ConversationMessageSend
Properties
| Name | Type | Description |
|---|---|---|
| type | string | The type of message content. |
| content | object | |
| channelId | string | The channel to use for sending. If omitted, the last used channel in the conversation is used. |
| reportUrl | string | The URL for delivery status callbacks. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ConversationMessageSend",
"title": "ConversationMessageSend",
"type": "object",
"required": [
"type",
"content"
],
"properties": {
"type": {
"type": "string",
"description": "The type of message content.",
"enum": [
"text",
"image",
"video",
"audio",
"file",
"location",
"hsm"
]
},
"content": {
"$ref": "#/components/schemas/MessageContent"
},
"channelId": {
"type": "string",
"description": "The channel to use for sending. If omitted, the last used channel in the conversation is used."
},
"reportUrl": {
"type": "string",
"format": "uri",
"description": "The URL for delivery status callbacks."
}
}
}