Merge pull request #519 from davyvanroy/patch-1

typo
This commit is contained in:
Ruben Bermudez 2018-09-09 12:13:36 +01:00 committed by GitHub
commit 6cb8b7905d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,10 +52,10 @@ public class YourApplicationMainClass {
After that your bot will look like:
```java
//Standart Spring component annotation
//Standard Spring component annotation
@Component
public class YourBotName extends TelegramLongPollingBot {
//Bot body.
}
```
Also you could just implement LongPollingBot or WebHookBot interfaces. All this bots will be registered in context and connected to Telegram api.
Also you could just implement LongPollingBot or WebHookBot interfaces. All this bots will be registered in context and connected to Telegram api.