mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-01-12 07:01:26 +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 { ModuleMetadata, Type } from '@nestjs/common/interfaces'
|
||||||
|
import { TelegrafOptions } from 'telegraf'
|
||||||
|
|
||||||
export interface TelegrafModuleOptions {
|
export interface TelegrafModuleOptions {
|
||||||
token: string
|
token: string
|
||||||
sitePublicUrl?: string
|
sitePublicUrl?: string
|
||||||
|
telegrafOptions?: TelegrafOptions
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TelegrafOptionsFactory {
|
export interface TelegrafOptionsFactory {
|
||||||
|
Loading…
Reference in New Issue
Block a user