Interface Options<TContext>

Type Parameters

Hierarchy

  • Options

Properties

contextType: (new (...args) => TContext)

Type declaration

    • new (...args): TContext
    • Parameters

      • Rest ...args: [update: Deunionize<Update>, telegram: Telegram, botInfo: UserFromGetMe]
        Rest

      Returns TContext

handlerTimeout: number
telegram?: Partial<Options>

Generated using TypeDoc