Appearance
messageSendAnonChannel
Sends a message to a given anonymous channel(s).
Function Action Object
| Key | value | Description |
|---|---|---|
| action | 'messageSendAnonChannel' | Action name |
| options.actions | Array of Klai actions | |
| options.channels | Array of channel names | |
| options.model | Key value pairs from model data | |
| options.app | Key value pairs from app model data |
Examples
- options.channels
yaml
// This will send a showAlert action
//to channels "channel1", "channel2" and "channel3"
[
{
"action": "messageSendAnonChannel",
"options": {
"actions": [
{
"action": "showAlert",
"options":{
"text": "Hello from Message",
"title": "Hello World",
"type": "information"
}
}
],
"model": {
"myModelData": "modelData"
},
"app": {
"myAppData": "appModelData"
},
"channels": ["channel1, channel2, channel3"]
}
}
]