How to send pdf in response to user

I want to return a pdf file when user seeks some data through the Bot and download it .

@JiteshGaikwad Can you please guide me

@nik202 hi nik can you elaborate ?

@nitish007 Hi, what is your frontend Nitish? It is much depends on the front end only.

This one i am using as a frontend

link.href = “[email protected]/dist/Chatroom.css”; document.getElementsByTagName(‘head’)[0].appendChild(link); let div = document.createElement(‘div’); div.className = ‘chat-container’; = ‘absolute’; = ‘0’; = ‘0’; = ‘23%’; document.body.appendChild(div); let script = document.createElement(‘script’); script.type = ‘text/javascript’; script.src = ‘[email protected]/dist/Chatroom.js’; script.onload = function() { let chatroom = new window.Chatroom({ //“host: “http://localhost:5005”, title: “AskMe”, container: document.querySelector(”.chat-container"), welcomeMessage: “Hi”, speechRecognition: “en-US”, }); } document.body.appendChild(script);

@nitish007 you can please check this repo also but as I told you, you need to customise the coder to send the pdf attachment, as per my knowledge chatroom and botfront don’t have such option yet.