mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-12-14 17:30:58 +03:00
feat(wip): rewrite explorer logic & update launch options & add miss decorators
This commit is contained in:
@@ -1,17 +1,10 @@
|
||||
import { ModuleMetadata, Type } from '@nestjs/common/interfaces';
|
||||
import {
|
||||
TelegrafOptions,
|
||||
LaunchPollingOptions,
|
||||
LaunchWebhookOptions,
|
||||
} from 'telegraf/typings/telegraf';
|
||||
import { TelegrafLaunchOption, TelegrafOption } from '../telegraf.types';
|
||||
|
||||
export interface TelegrafModuleOptions {
|
||||
token: string;
|
||||
options?: TelegrafOptions;
|
||||
launchOptions?: {
|
||||
polling?: LaunchPollingOptions;
|
||||
webhook?: LaunchWebhookOptions;
|
||||
};
|
||||
options?: TelegrafOption;
|
||||
launchOptions?: TelegrafLaunchOption;
|
||||
}
|
||||
|
||||
export interface TelegrafOptionsFactory {
|
||||
|
||||
Reference in New Issue
Block a user