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.
Interface | Description |
---|---|
IPostUserCreated | Event interface that allows an app to register as a handler of the |
IPostUserDeleted | Event interface that allows an app to register as a handler of the IPostUserDeleted event. This event is triggered after the user has been removed from the database. |
IPostUserLoggedIn | Event interface that allows an app to register as a handler of the IPostUserLoggedIn event. This event is triggered after the user logs into Rocket.Chat. |
IPostUserLoggedOut | Event interface that allows an app to register as a handler of the IPostUserLoggedOut event. This event is triggered after the user logs out from Rocket.Chat. |
IPostUserStatusChanged | Event interface that allows an app to register as a handler of the IPostUserStatusChanged event. This event is triggered after the user changes his status on Rocket.Chat to online, away, busy, or offline. It is not triggered when the custom status is changed. |
IPostUserUpdated | Event interface that allows an app to register as a handler of the IPostUserUpdated event. This event is triggered after the user is saved to the database. |