messageSendAnonChannel

Sends a message to a given anonymous channel(s).

Function Action Object

Examples

  • options.channels

// 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"]
        }
    }
]

Last updated