mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 15:04:38 +03:00
fix(telegraf-options): make options type partial (#249)
This commit is contained in:
parent
fdb26c006d
commit
a104f69b59
@ -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>>;
|
||||
|
Loading…
Reference in New Issue
Block a user