Users - Event Interfaces
    • Dark
      Light
    • PDF

    Users - Event Interfaces

    • Dark
      Light
    • PDF

    Article summary

    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 IPostUserCreated event. This event is triggered after the user is saved to the database.

    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.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence