Skip to content

massita99/ForwardedMessageNotifierBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Coverage Status

ForwardedMessageNotifierBot

The Telegram Bot based on Event Sourcing architecture that notify about all messaged that user sent it

Quick start

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 server
  • telegram.proxy.host - if proxy enabled then proxy host
  • telegram.proxy.port - if proxy enabled then proxy port
  • telegram.proxy.type - if proxy enabled then proxy type, ex: HTTP/SOCKS4/SOCKS5
  • telegram.bot.username - name of your bot. should get from @BotFather
  • telegram.bot.token - token of your bot. should get from @BotFather
  • mongo.embedded - provided if you prefer use embedded mongo/test if you had mongo server

Current main bot use case:

  1. User sends or forwards message to the bot
  2. Bot asks user to schedule notification by reply on received message
  3. After user scheduled notification bot sends schedule confirmation
  4. Bot notifies about message at notification date as replied message

Used Technologies

Releases

No releases published

Packages

No packages published