This is a very simple telegram bot for 2gis. The bot is available - here
- Ask your question and get the list of organizations
- Get phone and location for found organization
The bot is fully asynchronous and non-blocking. Akka-stream and akka-http used.
Prepare config
web-api.key = <YOUR API KEY>
web-api.host = <2GIS API HOST>
telegram.token = <TELEGRAM TOKEN>
Build .env
file
scripts/convert_config.sh <your config> > .env
Run docker image
docker run --rm -i -t --env-file .env 13h3r/bottele
sbt docker