Skip to content

Commit ebceb24

Browse files
committed
chat: add connectionId presence item
1 parent bb85911 commit ebceb24

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pages/docs/chat/rooms/presence.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ The following are the properties of a presence event:
103103
| type | The type of the event | String |
104104
| member | The presence member that the event pertains to | PresenceMember |
105105
| | `clientId`: The ID of the client that triggered the event. | String |
106+
| | `connectionId`: The connection ID of the client that triggered the event. Use this in combination with `clientId` to identify a user across multiple devices. | String |
106107
| | `data`: Optional user data. | Object |
107108
| | `updatedAt`: The time that the event was emitted. | DateTime |
108109
| | `extras`: A JSON object of arbitrary key-value pairs that may contain metadata, and/or ancillary payloads related to the user's latest presence event. | object |

0 commit comments

Comments
 (0)