Skip to content

vpavkin/telegram-bot-fs2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot FS2

Example purely functional telegram bot implementation with FS2 and http4s client.

Launching the bot

  1. Create a new bot for yourself with @BotFather: https://core.telegram.org/bots#6-botfather
  2. Export the token to env variables: export TODOLIST_BOT_TOKEN=<tokem>
  3. sbt run
  4. Just chat with the bot using your telegram app!