Business role
A Telegram bot to help our partner companies’ managers easily get structured stats of orders for the previous day / week on the go, as an alternative to the CRM website.
What it was about
The bot was embedded into an existing Rails app and was just one of the API routes + controller + serveral classes. It validated the command coming from Telegram API, validated user access rights, then pulled the data from the DB and returned HTML to the Telegram API which forwarded the message to the end users.
The bot mode was listening to callbacks (the other mode is long polling), so its throughput was limited only with Rails app throughput.
Challenges
No substancial challenges encountered
Interesting things I did on this project
Creating Telegram bots
