Type alias StopAction

StopAction: ((reason: string, pagination: PaginationSent, message: Interaction & InteractionResponseFields | Message) => Promised<unknown>)

Type declaration

    • (reason: string, pagination: PaginationSent, message: Interaction & InteractionResponseFields | Message): Promised<unknown>
    • Type for action that is called before or after the pagination is stopped.

      Parameters

      • reason: string
      • pagination: PaginationSent
      • message: Interaction & InteractionResponseFields | Message

      Returns Promised<unknown>

Generated using TypeDoc