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 {