A simple telegram bots wrote in Java. More in CHANGELOG
Step 1: Installing from command line[1]:
curl https://raw.githubusercontent.com/zoobestik/borken_bot/master/docker-compose.yml > docker-compose.yml
echo "TELEGRAM_BOT_NAME=<...name...>" >> .env
echo "TELEGRAM_BOT_TOKEN=<...token...>" >> .env
[1]: Placeholder should be replaced by:
<...name...>
– registered bot name;<...token...>
– token to access for HTTP API;
More information in Telegram Bot Api page.
Step 2: Start a bot server instance:
docker-compose up
- Install jdk8 or more and Maven.
- Install Jetbrains IDEA CE and create new project.
- Register new bot for debugging.
- Configure "Run configuration"