You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -355,8 +355,9 @@ rooms="[
355
355
356
356
### Messages prop
357
357
358
-
Message objects are rendered differently depending on their type. Currently, only text, emoji and file types are supported.<br>
359
-
Each message object has a `sender_id` field which holds the id of the corresponding agent. If `sender_id` matches the `currentUserId` prop, specific UI and actions will be implemented
358
+
Message objects are rendered differently depending on their type. Currently, only text, emoji and file types are supported.<br><br>
359
+
Each message object has a `sender_id` field which holds the id of the corresponding agent. If `sender_id` matches the `currentUserId` prop, specific UI and actions will be implemented.<br><br>
360
+
Note: `username` will be displayed on each message of corresponding agents if at least 3 users are in the room.
0 commit comments