sleep Message

For the description of the sleep method, see the wakeup method. The appearance of a plug-in button, that is, icon image, status text, and color can be changed using the optional "iconData" parameter. See the Change the Plug-In Tile Appearance section for details.

Example of "sleep" message

{
    "apiVersion": 1,
    "method": "sleep",
    "wakeupNeeded": true,
    "iconData": {
        "color": "highlight"
    }
}