# setExtStatus

Version: 4.3.0+

Description: set an extended status.

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 - unique request identifier. You can find more details 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: