mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 15:04:38 +03:00
Update installation.md
This commit is contained in:
parent
ca3683af95
commit
94383aa9a2
@ -6,14 +6,14 @@ slug: /
|
||||
---
|
||||
|
||||
```bash
|
||||
$ npm i nestjs-telegraf telegraf
|
||||
$ npm i @maks1ms/nestjs-telegraf telegraf
|
||||
```
|
||||
|
||||
Once the installation process is complete, we can import the `TelegrafModule` into the root `AppModule`.
|
||||
|
||||
```typescript title="src/app.module.ts"
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TelegrafModule } from 'nestjs-telegraf';
|
||||
import { TelegrafModule } from '@maks1ms/nestjs-telegraf';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
|
Loading…
Reference in New Issue
Block a user