mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-01-11 14:48:10 +03:00
docs: clarify that AppUpdate
is a provider (#806)
This commit is contained in:
parent
1c4bbfe245
commit
114d0a9cda
@ -36,7 +36,8 @@ import { TelegrafModule } from 'nestjs-telegraf';
|
|||||||
imports: [
|
imports: [
|
||||||
TelegrafModule.forRoot({
|
TelegrafModule.forRoot({
|
||||||
token: 'TELEGRAM_BOT_TOKEN',
|
token: 'TELEGRAM_BOT_TOKEN',
|
||||||
})
|
}),
|
||||||
|
providers: [AppUpdate],
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class AppModule {}
|
export class AppModule {}
|
||||||
@ -96,4 +97,4 @@ export class EchoService {
|
|||||||
...
|
...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
See more on a docs page: https://nestjs-telegraf.vercel.app/extras/bot-injection
|
See more on a docs page: https://nestjs-telegraf.vercel.app/extras/bot-injection
|
||||||
|
Loading…
Reference in New Issue
Block a user