# usersStatusesChanged

Description: Notification after a user status has changed.

To regularly update the status of any user, you need to add them to the address book.

Example:

{
    "event": "usersStatusesChanged",
    "usersStatuses": [
        {
            "isEditable" : true,
            "peerId": "user2@some.server",
            "peerDn": "John Doe",
            "status": 1
        }
    ],
    "method": "event"
}

Parameter description:

  • isEditable — ability to edit contact information

  • peerIdTrueConf ID, unique user identifier

  • peerDn — User display name

  • status — User status. It can have one of the following values:

    • -1 — Invalid user

    • 0 — Offline user

    • 1 — Available user

    • 2 — Busy user

    • 5 — the user is now taking part in a group conference

See also: