Update installation.md

This commit is contained in:
Maxim Slipenko 2023-07-23 15:43:46 +03:00 committed by GitHub
parent ca3683af95
commit 94383aa9a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: [