I am currently working on a chatbot project for live customer support. I have developed the chatbot from scratch. The main aim is that the message sending in the chatbot must be displayed on the slack channel and the response from the admin on the slack needs to be displayed on the chatbot. This is my main idea.
I am able to send the message from the chatbot to slack, but am not able to fetch it.
Do you guys have any idea on how to do it?
Error:I have been getting "Unsupported Media Type - did not attempt to load JSON data because the request Content-Type was not 'application/json'
But I have already set the Content Type to 'application/json' type. But the message I sent got displayed on the slack channel.P.S: I am not using Rasa. Its a normal python code. No NLP and stuff.
I am expecting a response preferably in a code format along with the explanations/ relevant code snippets for fetching the response from the slack.