0
0
mirror of https://github.com/Maks1mS/nestjs-telegraf.git synced 2025-04-15 04:23:43 +03:00

Add telegraf options to interface

This commit is contained in:
Alexey Lepskii 2020-02-29 12:38:14 +03:00
parent 519d3c9a8f
commit 9e02f3aebf

View File

@ -1,8 +1,10 @@
import { ModuleMetadata, Type } from '@nestjs/common/interfaces'
import { TelegrafOptions } from 'telegraf'
export interface TelegrafModuleOptions {
token: string
sitePublicUrl?: string
telegrafOptions?: TelegrafOptions
}
export interface TelegrafOptionsFactory {