mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-01-11 22:51:06 +03:00
Add telegraf options to interface
This commit is contained in:
parent
519d3c9a8f
commit
9e02f3aebf
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user