Telegram Bot example in Java language that says "Hi!" if you said "/hello".
Telegram Bot example in Java language that says Hi!
if you said /hello
.
mvn compile
mvn exec:java -Dexec.mainClass="fvarrui.telegram.bot.Main" -Dtoken=<token> -Dbotname=<botname>
Follow this link to register your own bot, and use the given token
and botname
in the previous command.