Interface BotSession

Hierarchy

  • BotSession

Properties

close?: (() => void | Promise<void>)

Type declaration

    • (): void | Promise<void>
    • Returns void | Promise<void>

oncommand: ((command: string, args: any) => Promise<any>)

Type declaration

    • (command: string, args: any): Promise<any>
    • Parameters

      • command: string
      • args: any

      Returns Promise<any>

onrecord?: ((record: Record) => Promise<void>)

Type declaration

    • (record: Record): Promise<void>
    • Parameters

      Returns Promise<void>

open?: (() => void | Promise<void>)

Type declaration

    • (): void | Promise<void>
    • Returns void | Promise<void>

Generated using TypeDoc