Interface ServerPayloadPresenceUpdate

Hierarchy

  • ServerPayloadPresenceUpdate

Properties

Properties

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"
}
}
status: Status
user_id: number