Example purely functional telegram bot implementation with FS2 and http4s client.
Uses Scala 3 and cats-effect 3
- Create a new bot for yourself with @BotFather: https://core.telegram.org/bots#6-botfather
- Export the token to env variables:
export TODOLIST_BOT_TOKEN=<tokem>
sbt run
- Just chat with the bot using your telegram app!