The table below contains the user-related events, as well as the purpose of each event. If you want to execute actions based on user events, you can use any of the events mentioned below as an event interface. For further details, refer to the Apps-Engine TypeScript definition.
Interface | Description |
|---|---|
| Event interface that allows an app to register as a handler of the |
| Event interface that allows an app to register as a handler of the |
| Event interface that allows an app to register as a handler of the |
| Event interface that allows an app to register as a handler of the |
| Event interface that allows an app to register as a handler of the |
| Event interface that allows an app to register as a handler of the |
Starting with Rocket.Chat 8.6.0, user objects passed to these event handlers can include federation metadata: the
isFederatedboolean and thefederationobject. Your app can use these fields to apply different logic to federated and non-federated users. For the complete interface, see the IUser definition.