nestjs-telegraf/sample/app.module.ts
2020-12-26 16:48:04 +03:00

15 lines
367 B
TypeScript

import { Module } from '@nestjs/common';
import { TelegrafModule } from '../lib';
import { EchoService } from './echo.service';
import { AppUpdate } from './app.update';
@Module({
imports: [
TelegrafModule.forRoot({
token: '1467731595:AAHCvH65H9VQYKF9jE-E8c2rXsQBVAYseg8',
}),
],
providers: [EchoService, AppUpdate],
})
export class AppModule {}