Skip to content

naruhin/spring-boot-telegram-bot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖Spring Boot Telegram BOT example


Simple echo bot using TDD and Spring

Make sure Project SDK is JDK 11!

All you need is:

  1. Clone this repository

    gh repo clone naruhin/spring-boot-telegram-bot-demo

  2. Create your own bot with @BotFather

    Screenshot-1

  3. Now you have token and botname. Create file application.properties and put them into.

    bot.username = youtBotName
    bot.token = yourBotToken
  4. Package your application

    mvn clean package

  5. Run your .jar file.

    java -jar telegram-bot-demo-0.0.1-SNAPSHOT.jar

Configurations! Your bot is running!:sunglasses:

About

A simple echo bot using Java (Spring)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages