Skip to content

Commit

Permalink
Merge pull request #1178 from benedya/docs-improvement
Browse files Browse the repository at this point in the history
docs-improvement: Add an explanation how to disable pulling updates
  • Loading branch information
0x467 authored Jun 11, 2024
2 parents 2db96e0 + 81b7e9d commit 02be3a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/getting-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Now you can connect middleware:
app.use(bot.webhookCallback('/secret-path'));
```

The last step is to specify launchOptions in `forRoot` method:
The last step is to specify `launchOptions` in `forRoot` method:
```typescript
TelegrafModule.forRootAsync({
imports: [ConfigModule],
Expand All @@ -36,3 +36,4 @@ TelegrafModule.forRootAsync({
inject: [ConfigService],
});
```
If you don't want to receive updates, you need to set `launchOptions` to `false`.

0 comments on commit 02be3a0

Please sign in to comment.