feat(lib/telegraf.service.ts): set bot public

This commit is contained in:
Vito Macchia 2020-01-23 19:10:53 +01:00 committed by Aleksandr Bukhalo
parent 6138ae0918
commit cef3796f01
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ import { InvalidConfigurationException } from './exeptions'
export class TelegrafService {
private readonly logger = new Logger(TelegrafService.name, true)
private readonly sitePublicUrl?: string
private readonly bot: Telegraf<ContextMessageUpdate>
public readonly bot: Telegraf<ContextMessageUpdate>
private ref: ModuleRef
public constructor(

View File

@ -1,6 +1,6 @@
{
"name": "nestjs-telegraf",
"version": "0.7.0",
"version": "0.7.1",
"description": "Telegraf module for Nest framework",
"keywords": [
"nest",