refactor(): bot token using

This commit is contained in:
Morb0
2021-01-03 13:24:07 +03:00
parent d48123ea38
commit 5ada9353e9
4 changed files with 10 additions and 27 deletions

View File

@@ -8,12 +8,12 @@ import {
export interface TelegrafModuleOptions<C extends Context = Context> {
token: string;
name?: string;
options?: TelegrafOptions;
launchOptions?: {
polling?: LaunchPollingOptions;
webhook?: LaunchWebhookOptions;
};
botName?: string;
include?: Function[];
middlewares?: ReadonlyArray<Middleware<C>>;
}