Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPostMessageDeleted

Handler for after a message is deleted.

Hierarchy

  • IPostMessageDeleted

Index

Methods

Optional checkPostMessageDeleted

  • Enables the handler to signal to the Apps framework whether this handler should actually be executed for after the message has been deleted.

    Parameters

    • message: IMessage

      The message which was deleted

    • read: IRead

      An accessor to the environment

    • http: IHttp

      An accessor to the outside world

    Returns Promise<boolean>

    whether to run the executor function

executePostMessageDeleted

  • Method called after the message has been deleted.

    Parameters

    • message: IMessage

      The message which was deleted

    • read: IRead

      An accessor to the environment

    • http: IHttp

      An accessor to the outside world

    • persistence: IPersistence

      An accessor to the App's persistence

    Returns Promise<void>

Generated using TypeDoc