diff --git a/README.md b/README.md index 732fbf7..9d2296e 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ const telegrafProvider = app.get('TelegrafProvider'); Now you can connect middleware: ```typescript -app.use(telegrafService.webhookCallback('/secret-path')); +app.use(telegrafProvider.webhookCallback('/secret-path')); ``` The last step is to specify launchOptions in `forRoot` method: