Skip to content

DoNotDisturb

Outgoing Messages

SetDoNotDisturb

Handle setting of DND directive.

JSON Structure

{
    "header": {
        "version": "4.0",
        "messageType": "Publish",
        "id": {{String}},
        "messageDescription": {
            "topic": "DoNotDisturb",
            "action": "SetDoNotDisturb"
        }
    },
    "payload": {
        "doNotDisturb": {{Bool}}        
    }
}

Payload

Property Type Required Description Example
doNotDisturb Bool Yes setting state.

Incoming Messages

DoNotDisturbChanged

Notifies the Engine of a platform request to set the DND State.

JSON Structure

{
    "header": {
        "version": "4.0",
        "messageType": "Publish",
        "id": {{String}},
        "messageDescription": {
            "topic": "DoNotDisturb",
            "action": "DoNotDisturbChanged"
        }
    },
    "payload": {
        "doNotDisturb": {{Bool}}        
    }
}

Payload

Property Type Required Description Example
doNotDisturb Bool Yes setting state.