Source code

Revision control

Copy as Markdown

Other Tools

{
"title": "ActionOnlyMessage",
"description": "A template for messages that silently execute an allowlisted special message action with no UI. Records an impression before attempting action.",
"type": "object",
"properties": {
"content": {
"type": "object",
"properties": {
"action": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of the special message action to execute."
},
"data": {
"type": "object",
"description": "Optional data for the action."
}
},
"required": ["type"],
"additionalProperties": true,
"description": "The special message action to execute. Only allowlisted action types may be used."
}
},
"additionalProperties": true,
"required": ["action"]
},
"template": {
"type": "string",
"const": "action_only"
}
},
"required": ["targeting"]
}