Skip to content
This repository was archived by the owner on Apr 12, 2026. It is now read-only.

Commit c976ae8

Browse files
Inventory-related websocket updates
Adds content-refresh enum values, modified-image-update event
1 parent 4b0f5e8 commit c976ae8

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

content/tutorials/websocket.markdown

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ In this part of the documentation, the following `":identifier"`s will be used t
6767
\* *only observed with* `"inventory"` *content type*
6868
- `":inventoryType"`
6969
- `"sticker"`
70+
- `"emoji"`
71+
- `"bundle"`
72+
- `"prop"`
7073
- *other values* Some other user-uploaded or creator economy content
7174
7275
## Events
@@ -428,6 +431,22 @@ A "`content-refresh`" event is sent when the user adds or removes profile images
428431
```
429432

430433

434+
#### modified-image-update
435+
A "`modified-image-update`" event is sent when an image file is modified.
436+
437+
```json
438+
{
439+
"type": "modified-image-update",
440+
"content": {
441+
"fileId": ":id", // Id for the image updated
442+
"pixelSize": <number>, // Integer size, in pixels, of the image
443+
"versionNumber": <number>, // Integer version of the image
444+
"needsProcessing": <boolean> // Whether the image requires processing
445+
}
446+
}
447+
```
448+
449+
431450
#### instance-queue-joined
432451
A "`instance-queue-joined`" event is sent when the user queues to join an instance.
433452

0 commit comments

Comments
 (0)