mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-01-11 14:48:10 +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 {
|
export interface TelegrafModuleOptions {
|
||||||
token: string;
|
token: string;
|
||||||
botName?: string;
|
botName?: string;
|
||||||
options?: Telegraf.Options<any>;
|
options?: Partial<Telegraf.Options<any>>;
|
||||||
launchOptions?: Telegraf.LaunchOptions;
|
launchOptions?: Telegraf.LaunchOptions;
|
||||||
include?: Function[];
|
include?: Function[];
|
||||||
middlewares?: ReadonlyArray<Middleware<any>>;
|
middlewares?: ReadonlyArray<Middleware<any>>;
|
||||||
|
Loading…
Reference in New Issue
Block a user