Message - Event Interfaces

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.

InterfaceDescription

IPostMessageDeleted

The handler after a message is deleted.

IPostMessageFollowed

The handler after a message has been followed or unfollowed.

IPostMessagePinned

The handler after a message is pinned or unpinned.

IPostMessageReacted

The handler after a message gets a reaction or a reaction is removed.

IPostMessageReported

The handler after a message is reported.

IPostMessageSent

The handler after a message is sent.

IPostMessageSentToBot

The handler after a DM is sent to a bot.

IPostMessageStarred

The handler after a message has been starred or unstarred.

IPostMessageUpdated

The handler after a message is updated.

IPreMessageDeletePrevent

The handler used to determine whether a user is allowed to delete a message or not.

IPreMessageSentExtend

The handler called when an app wants to extend a message.

IPreMessageSentModify

The handler called when an app wants to modify a message.

IPreMessageSentPrevent

The handler which is called to determine whether a user is allowed to send a message or not.

IPreMessageUpdatedExtend

The handler called when an app wants to extend a message update.

IPreMessageUpdatedModify

​​The handler called when an app wants to modify a message update.

IPreMessageUpdatedPrevent

The handler which is called to determine whether a user is allowed to update a message or not.

Last updated

Rocket.Chat versions receive support for six months after release.