Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPreMessageSentModify

Handler called when an App wants to modify a message in a destructive way.

Hierarchy

  • IPreMessageSentModify

Index

Methods

Optional checkPreMessageSentModify

  • checkPreMessageSentModify(message: IMessage, read: IRead, http: IHttp): Promise<boolean>
  • Enables the handler to signal to the Apps framework whether this handler should actually be executed for the message about to be sent.

    Parameters

    • message: IMessage

      The message which is being sent

    • read: IRead

      An accessor to the environment

    • http: IHttp

      An accessor to the outside world

    Returns Promise<boolean>

    whether to run the execute or not

executePreMessageSentModify

Generated using TypeDoc