Stream for logged-in users.
Events
Users:NameChanged
Users:Deleted
updateAvatar
updateEmojiCustom
deleteEmojiCustom
roles-change
user-status
Example call
{
"msg": "sub",
"id": "7489",
"name": "stream-notify-logged",
"params":[
"user-status",
false
]
}
Example response
user-status
Event about user status changes.
{
"msg": "changed",
"collection": "stream-notify-logged",
"id": "id",
"fields": {
"eventName": "user-status",
"args": [["uNqJeFuag2344i62k", "rocket.cat", 1]]
}
}
The args
property will always be an array with the following values:
Argument | Example | Description |
---|---|---|
|
| The user ID. |
|
| The username. |
|
| The indicator of the user status. The integers represent the following: 0 - |