Skip to content

tarasvladyka/telegram-simple-bot-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple telegram bot skeleton for java

Created using:

Bot functionality:

  • Responds to user with the same text(echo effect)

Run:

  1. Create bot via BotFather (t.me/BotFather)
  2. Specify token and username in SimpleEchoBot.java
  3. Run Application.main()
  4. Wait for message Telegram bot is ready to accept updates from user......
  5. Now navigate to your bot and try to send some text to the bot

Play with bot

SimpleEchoBot.java contains onUpdateReceived() - entrypoint, in which bot receives messages from Telegram. Try to look at the code and play with it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages