Message response types
This page documents all response types supported in "message:brain_received"
events. Each response includes an action_id
, used internally by Moveo to track UI interactions and analytics.
β¨οΈ Textβ
{
"type": "text",
"text": string,
"action_id": string,
"options": [
{
"label": string,
"text": string
}
]
}
πΌοΈ Imageβ
{
"type": "image",
"url": string,
"name": string,
"action_id": string
}
π₯ Videoβ
{
"type": "video",
"url": string,
"name": string,
"size": number,
"action_id": string
}
π Fileβ
{
"type": "file",
"url": string,
"name": string,
"size": number,
"action_id": string
}
π URLβ
{
"type": "url",
"url": string,
"action_id": string
}
π Carouselβ
{
"type": "carousel",
"cards": [
{
"title": string,
"subtitle": string,
"media": {
"type": string,
"url": string
},
"buttons": [
{
"type": string,
"label": string,
"value": string,
"url": string,
"trigger_node_id": string,
"height": string
}
],
"default_action": object
}
],
"action_id": string
}
π Webviewβ
{
"type": "webview",
"url": string,
"name": string,
"label": string,
"trigger_node_id": string,
"height": string,
"action_id": string
}
π Surveyβ
Same schema as Webview, but with "type": "survey"
.
{
"type": "survey",
"url": string,
"name": string,
"label": string,
"trigger_node_id": string,
"height": string,
"action_id": string
}
βΈοΈ Pauseβ
{
"type": "pause",
"duration": number,
"show_typing": boolean,
"action_id": string
}
π Handoverβ
{
"type": "handover",
"name": string,
"action_id": string
}
β Resolve (Close)β
{
"type": "close",
"action_id": string
}
Refer to the message:brain_received
section in WebSocket Server Events
context
, timestamp
, and debug
fields.