The table below contains the message-related events, as well as the purpose of each event. If you want to execute actions based on message events, you can use any of the events mentioned below as an event interface. Find more details in the Rocket.Chat Apps TypeScript Definition.https://rocketchat.github.io/Rocket.Chat.Apps-engine/modules/messages.html
Interface | Description |
---|---|
| The handler after a message is deleted. |
| The handler after a message has been followed or unfollowed. |
| The handler after a message is pinned or unpinned. |
| The handler after a message gets a reaction or a reaction is removed. |
| The handler after a message is reported. |
| The handler after a message is sent. |
| This event is triggered whenever a system message is sent. For a list of system messages, see the MessageType.ts file. |
| The handler after a DM is sent to a bot. |
| The handler after a message has been starred or unstarred. |
| The handler after a message is updated. |
| The handler used to determine whether a user is allowed to delete a message or not. |
| The handler called when an app wants to extend a message. |
| The handler called when an app wants to modify a message. |
| The handler which is called to determine whether a user is allowed to send a message or not. |
| The handler called when an app wants to extend a message update. |
| ​​The handler called when an app wants to modify a message update. |
| The handler which is called to determine whether a user is allowed to update a message or not. |