commit
6cb8b7905d
@ -52,7 +52,7 @@ public class YourApplicationMainClass {
|
|||||||
|
|
||||||
After that your bot will look like:
|
After that your bot will look like:
|
||||||
```java
|
```java
|
||||||
//Standart Spring component annotation
|
//Standard Spring component annotation
|
||||||
@Component
|
@Component
|
||||||
public class YourBotName extends TelegramLongPollingBot {
|
public class YourBotName extends TelegramLongPollingBot {
|
||||||
//Bot body.
|
//Bot body.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user