User Events

user:update

The user:udpate event is sent to all connected clients when a user that is related to the authenticated user via a channel is updated. This event will only be broadcast once, regardless of how many common channels the users share.

An example payload for this event:

{
  "event": "user:update",
  "data": {
    "id": "2115543f-c236-4f81-a548-719b0929c465",
    "name": "Some User",
    "email": "user@example.com",
    "avatar_url": "https://gravatar.com/avatar/06aaff5772de7ecffbfae48831b2190d?s=200"
  }
}