Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user badge events to Pipeline tutorial #145

Merged
merged 1 commit into from
May 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions content/tutorials/websocket.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,32 @@ A "`user-location`" event is sent when the user has changed instances.
```


#### user-badge-assigned
A "`user-badge-assigned`" event is sent when the user obtains a badge, such as for subscribing to VRChat+.

```json
{
"type": "user-badge-assigned",
"content": {
"badge": ":badge"
}
}
```


#### user-badge-unassigned
A "`user-badge-unassigned`" event is sent when the user loses a badge, such a VRChat+ subscription expiring.

```json
{
"type": "user-badge-unassigned",
"content": {
"badgeId": ":badgeId"
}
}
```


#### content-refresh
A "`content-refresh`" event is sent when the user adds or removes profile images etc.

Expand Down
Loading