You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v1/api/presence-data.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,15 @@ Both extend the `BasePresenceData` interface, which contains the common properti
21
21
|`type`|`ActivityType`| Type of activity (Playing, Listening, Watching, Competing) |
22
22
|`stateDisplayType`|`StatusDisplayType`| Controls which field is displayed in the user's status text in the member list |
23
23
|`details`|`string \| Node \| null`| Top row of the status |
24
-
|`detailsUrl`|`string \| null`| URL that is linked when clicking on the details text |
24
+
|`detailsUrl`|`string \| null`| URL that is linked when clicking on the details text |
25
25
|`state`|`string \| Node \| null`| Bottom row of the status |
26
-
|`stateUrl`|`string \| null`| URL that is linked when clicking on the state text |
26
+
|`stateUrl`|`string \| null`| URL that is linked when clicking on the state text |
27
27
|`startTimestamp`|`number \| Date \| null`| Timestamp for the start of the activity (shows time as "elapsed") |
28
28
|`endTimestamp`|`number \| Date \| null`| Timestamp until the end of the activity (shows time as "remaining") |
29
29
|`largeImageKey`|`string \| Blob \| HTMLImageElement \| null`| Large profile artwork. Preferably a direct URL to an image (e.g., `https://example.com/logo.png`) |
30
-
|`largeImageUrl`|`string \| null`| URL that is opened when clicking on the large image |
30
+
|`largeImageUrl`|`string \| null`| URL that is opened when clicking on the large image |
31
31
|`smallImageKey`|`string \| Blob \| HTMLImageElement \| null`| Small profile artwork. Preferably a direct URL to an image (e.g., `https://example.com/icon.png`) |
32
-
|`smallImageUrl`|`string \| null`| URL that is opened when clicking on the small image |
32
+
|`smallImageUrl`|`string \| null`| URL that is opened when clicking on the small image |
33
33
|`smallImageText`|`string \| Node \| null`| Tooltip for the smallImageKey |
34
34
|`buttons`|`[ButtonData, ButtonData?]`| Array of buttons (max 2) |
35
35
@@ -71,11 +71,11 @@ The `ActivityType` enum defines the types of activities that can be displayed.
71
71
72
72
The `StatusDisplayType` enum controls which field is displayed in the user's status text in the member list.
0 commit comments