mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-26 15:58:09 +03:00
14 lines
308 B
TypeScript
14 lines
308 B
TypeScript
|
import { Module } from '@nestjs/common';
|
||
|
import { TelegrafModule } from '../lib';
|
||
|
import { AppUpdate } from './app.update';
|
||
|
|
||
|
@Module({
|
||
|
imports: [
|
||
|
TelegrafModule.forRoot({
|
||
|
token: '1467731595:AAHCvH65H9VQYKF9jE-E8c2rXsQBVAYseg8',
|
||
|
}),
|
||
|
],
|
||
|
providers: [AppUpdate],
|
||
|
})
|
||
|
export class AppModule {}
|