your question is very open... and depends on many different aspects.
Assuming the interface of your bot is a webpage, the backend could be written in Node.js / JS and also the complete communication between the bot and Sense server.
I also found a Telegram Node.js Integration here GitHub - yagop/node-telegram-bot-api: Telegram Bot API for NodeJS
This (could) leads to the following desing:
[2/Telegram Bot 4 NodeJs Integration including [3/Thing That Parse the Input / Natural Language Processing]]
[4/Thing Thats connects to the Qlik Sense Server]
[Qlik Sense Server]
And of course you have to bring back the result to the bot again.
Hopefully this was helpful and gave you an idea about one possible solution.