Skip to content

Commit

Permalink
Add Content Refresh Event to Pipeline Tutorial (#140)
Browse files Browse the repository at this point in the history
* Added NotificationV2 and Group Events

NotificationV2 Events:
  notification-v2
  notification-v2-update
  notification-v2-delete
Group Events:
  group-joined
  group-left
  group-member-updated
  group-role-updated

* Fix some NotificationV2 things

* Added Content Refresh Event to Pipeline Tutorial

* Pull upstream
  • Loading branch information
VinyarionHyarmendacil authored Aug 9, 2023
1 parent 2c81626 commit 7940e9f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/tutorials/websocket.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,20 @@ A "`user-location`" event is sent when the user has changed instances.
}
```


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

```json
{
"type": "content-refresh",
"content": {
"contentType": ":contentRefreshContentTypeEnum", // One of: "gallery", "icon", "emoji", ???
"actionType": ":contentRefreshActionTypeEnum" // One of: "created", "deleted", ???
}
}
```

---

### Group Events
Expand Down

0 comments on commit 7940e9f

Please sign in to comment.