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) · 2.23 KB

File metadata and controls

5 lines (3 loc) · 2.23 KB

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
IPostMessageDeletedThe handler after a message is deleted.
IPostMessageFollowedThe handler after a message has been followed or unfollowed.
IPostMessagePinnedThe handler after a message is pinned or unpinned.
IPostMessageReactedThe handler after a message gets a reaction or a reaction is removed.
IPostMessageReportedThe handler after a message is reported.
IPostMessageSentThe handler after a message is sent.
IPostMessageSentToBotThe handler after a DM is sent to a bot.
IPostMessageStarredThe handler after a message has been starred or unstarred.
IPostMessageUpdatedThe handler after a message is updated.
IPreMessageDeletePreventThe handler used to determine whether a user is allowed to delete a message or not.
IPreMessageSentExtendThe handler called when an app wants to extend a message.
IPreMessageSentModifyThe handler called when an app wants to modify a message.
IPreMessageSentPreventThe handler which is called to determine whether a user is allowed to send a message or not.
IPreMessageUpdatedExtendThe handler called when an app wants to extend a message update.
IPreMessageUpdatedModify​​The handler called when an app wants to modify a message update.
IPreMessageUpdatedPreventThe handler which is called to determine whether a user is allowed to update a message or not.