pridar_telegram_bot

pridar_telegram_bot.py

Deployment of PRIDAR Chatbot from VoiceFlow to Telegram

This program makes https requests to VoiceFlow with the received messages using the VoiceFlow API key and extracts the response payload to forward back to Telegram.

Documented by Linta Rahman

Functions

handle_message(message)

forwards the payload extracted from all responses to the user after first message

launch(message)

implements the API calls to Voiceflow for first message

sendMsg(message)

implements the API calls to Voiceflow

start(message)

only implemented when "/start" command is received forwards the payload extracted from the response to the user