setExtStatus

TrueConfLess than 1 minute

setExtStatus

Description: set an extended status. v4.3.0+

Upon successful execution of the command, a appStateChanged notification will be generated.

Request example:

{
    "method" : "setExtStatus",
    "requestId" : "1",
    "extStatus" : 2,
    "additionalStatus" : ""
}

Response example:

{
    "method" : "setExtStatus",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • requestId - a unique request identifier. You can learn more about it here.

  • extStatus - the value of the user's extended status, which can be set by the user themselves. Optional parameter. The value can be one of the following:

    • 2 — Available user

    • 5 - user is available but has set the status to do not disturb

  • additionalStatus - an additional user status in the form of a string. Optional parameter

See also: