fix(telegraf-options): make options type partial (#249)

This commit is contained in:
Morbo 2021-02-03 17:32:29 +03:00 committed by GitHub
parent fdb26c006d
commit a104f69b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import { Middleware, Telegraf } from 'telegraf';
export interface TelegrafModuleOptions {
token: string;
botName?: string;
options?: Telegraf.Options<any>;
options?: Partial<Telegraf.Options<any>>;
launchOptions?: Telegraf.LaunchOptions;
include?: Function[];
middlewares?: ReadonlyArray<Middleware<any>>;