Message - Event Interfaces
    • Dark
      Light
    • PDF

    Message - Event Interfaces

    • Dark
      Light
    • PDF

    Article summary

    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.

    Interface

    Description

    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.


    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