Type alias StopAction

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

Type declaration

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

      Parameters

      • reason: string
      • pagination: PaginationSent
      • message: RepliableInteraction | Message

      Returns Promised<unknown>

Generated using TypeDoc