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
|`delete-message`|`{ roomId, message }`| Deleted a message |
548
+
|`open-file`|`{ message, action }`| Clicked to view or download a file |
549
+
|`open-user-tag`(3) |`{ user }`| Clicked on a user tag inside a message |
550
+
|`add-room`| - | Clicked on the plus icon next to searchbar |
551
+
|`room-action-handler`(4) |`{ roomId, action }`| Clicked on the vertical dots icon inside a room |
552
+
|`menu-action-handler`(5) |`{ roomId, action }`| Clicked on the vertical dots icon inside a room |
553
+
|`message-action-handler`(6) |`{ roomId, action, message }`| Clicked on the dropdown icon inside a message |
554
+
|`send-message-reaction`|`{ roomId, messageId, reaction, remove }`| Clicked on the emoji icon inside a message |
555
+
|`room-info` (7) |`room`| Clicked the room header bar |
556
+
|`toggle-rooms-list`|`{ opened }`| Clicked on the toggle icon inside a room header |
557
+
|`textarea-action-handler`(8) |`{ roomId, message }`| Clicked on custom icon inside the footer |
558
+
|`typing-message`|`{ message, roomId }`| Started typing a message |
559
559
560
560
**(1)**`fetch-messages` is triggered every time a room is opened. If the room is opened for the first time, the `options` param will hold `reset: true`.<br>
561
561
**(1)**`fetch-messages` should be a method implementing a pagination system. Its purpose is to load older messages of a conversation when the user scroll on top.
0 commit comments