Interface Options<TContext>

interface Options<TContext> {
    contextType: (new (...args) => TContext);
    handlerTimeout: number;
    telegram?: Partial<Options>;
}

Type Parameters

Properties

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

Type declaration

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

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

      Returns TContext

handlerTimeout: number
telegram?: Partial<Options>