Interface ServerPayloadPresenceUpdate

Hierarchy

  • ServerPayloadPresenceUpdate

Properties

d op

Properties

d: {
    status: Status;
    user_id: number;
}

Type declaration

  • status: Status
  • user_id: number
op: "PRESENCE_UPDATE"

The payload sent when a user's presence is updated.

This is mainly used for when a user goes offline or online.


Example

{
"user_id": 48615849987333,
"status": {
"type": "IDLE",
"text": "BURY THE LIGHT DEEP WITHIN"
}
}