Config your username and token in EchoBot.java
Build: mvn clean install
Run: mvn exec:java -Dexec.mainClass="Main"
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots</artifactId>
<version>3.5</version>
</dependency>
https://core.telegram.org/bots/faq#what-messages-will-my-bot-get https://core.telegram.org/bots#privacy-mode https://github.com/MonsterDeveloper/java-telegram-bot-tutorial/