Just create the bot in Telegram and put the following commands:
Command name | Description |
---|---|
start | To start the bot |
tasks | To show all uncompleted tasks |
alltasks | To show all tasks |
create | To create a new task |
Then generate an API Token and put in a bot.properties file in resources directory. You also need to put a bot name into this file.
bot.properties file should look like this:
bot.name=YOUR_BOT_NAME_HERE
bot.token=YOUR_API_TOKEN_HERE
Start the bot by docker-compose file. In this project I've decided to use Redis as data store because it is pretty fast and durable.
Follow the bot instructions and enjoy!