Event Methods
Settings-related events are exposed as lifecycle methods in the App class. These methods are triggered when a setting belonging to the app is about to be updated or has been updated.
Event Method | Description |
---|---|
| Called after a setting belonging to the app has been updated by an external system (not the app itself). |
| Called before a setting belonging to the app is updated by an external system. |
Data Model Interfaces
The following data model interfaces are passed into the event methods. They describe the details of the setting and its update context, but they are not events themselves.
Interface | Description |
---|---|
| Represents a setting and provides details such as ID, type, value, etc. |
| Provides context for the event, including the new setting value. |
| Represents the type of setting configured for the app. |
For the full definitions, see the Rocket.Chat Apps-Engine source code.