Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 828 Bytes

File metadata and controls

30 lines (20 loc) · 828 Bytes

Telegram Bot as SpringBoot starter app

How to start

Telegram Token

You have to change the the config values for bot.token and bot.username and weather in the application.yml to the credentials of your bot and then you're ready to go.

Plz rename ./src/main/resources/application.example to ./src/main/resources/application.yml and write you data. Make your Bot by https://telegram.me/BotFather

Weather Token

https://home.agromonitoring.com/api_keys

Telegram Bot as SpringBoot starter app

You have to change the the config values for bot.token and bot.username in the application.yml to the credentials of your bot and then you're ready to go.

To start in Docker container, first build the image:

docker build -t bot .

then run:

docker run -d --rm -it bot:latest