The Telegram Bot based on Event Sourcing architecture that notify about all messaged that user sent it
mvn spring-boot:run -Dtelegram.proxy.enabled=false -Dtelegram.bot.username=<your bot name from BotFather> -Dtelegram.bot.token=<yout token from BotFather> -Dmongo.embedded=provided
the command run bot on embedded mongo server without proxy with your bot token.
All parameter list:
telegram.proxy.enabled
- enable proxy if Telegram blocked on your servertelegram.proxy.host
- if proxy enabled then proxy hosttelegram.proxy.port
- if proxy enabled then proxy porttelegram.proxy.type
- if proxy enabled then proxy type, ex: HTTP/SOCKS4/SOCKS5telegram.bot.username
- name of your bot. should get from @BotFathertelegram.bot.token
- token of your bot. should get from @BotFathermongo.embedded
- provided if you prefer use embedded mongo/test if you had mongo server
- User sends or forwards message to the bot
- Bot asks user to schedule notification by reply on received message
- After user scheduled notification bot sends schedule confirmation
- Bot notifies about message at notification date as replied message
- https://axoniq.io - CQRS Event Sourcing framework as base
- https://github.com/rubenlagus/TelegramBots - TelegramBot java library to interact with bot
- https://spring.io/projects/spring-boot - stand-alone App container
- https://www.mongodb.com - document-based database
- https://junit.org/junit5/ - main test framework
- https://github.com/michaelmosmann/embedmongo.flapdoodle.de - embedded MongoDB server for testing
- https://github.com/awaitility/awaitility - for asynchronous testing
- https://maven.apache.org - build automation tool