Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
5 lines (3 loc) · 1.79 KB

File metadata and controls

5 lines (3 loc) · 1.79 KB

Users - Event Interfaces

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.

InterfaceDescription
IPostUserCreated

Event interface that allows an app to

register as a handler of the IPostUserCreated event. This event is triggered after the user is saved to the database.

IPostUserDeletedEvent 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.
IPostUserLoggedInEvent 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.
IPostUserLoggedOutEvent 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.
IPostUserStatusChangedEvent 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.
IPostUserUpdatedEvent 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.