From a104f69b5976bb3b4d539f73d7808a803a8b59d1 Mon Sep 17 00:00:00 2001 From: Morbo Date: Wed, 3 Feb 2021 17:32:29 +0300 Subject: [PATCH] fix(telegraf-options): make options type partial (#249) --- lib/interfaces/telegraf-options.interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/interfaces/telegraf-options.interface.ts b/lib/interfaces/telegraf-options.interface.ts index d482144..7fccf05 100644 --- a/lib/interfaces/telegraf-options.interface.ts +++ b/lib/interfaces/telegraf-options.interface.ts @@ -4,7 +4,7 @@ import { Middleware, Telegraf } from 'telegraf'; export interface TelegrafModuleOptions { token: string; botName?: string; - options?: Telegraf.Options; + options?: Partial>; launchOptions?: Telegraf.LaunchOptions; include?: Function[]; middlewares?: ReadonlyArray>;