From 60d563493803f71f4d272dfcf0518a4a8e7c42e4 Mon Sep 17 00:00:00 2001 From: Stephan Groenewold Date: Wed, 24 Oct 2018 16:42:31 +0200 Subject: [PATCH] Update Wiki FAQ Spring Boot starter --- TelegramBots.wiki/FAQ.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/TelegramBots.wiki/FAQ.md b/TelegramBots.wiki/FAQ.md index eeac8dc7..a700c706 100644 --- a/TelegramBots.wiki/FAQ.md +++ b/TelegramBots.wiki/FAQ.md @@ -231,8 +231,6 @@ Your main spring boot class should look like this: ```java @SpringBootApplication -//Add this annotation to enable automatic bots initializing -@EnableTelegramBots public class YourApplicationMainClass { public static void main(String[] args) { @@ -246,7 +244,7 @@ public class YourApplicationMainClass { After that your bot will look like: ```java - //Standart Spring component annotation + //Standard Spring component annotation @Component public class YourBotClassName extends TelegramLongPollingBot { //Bot body.