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 = “https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/[email protected]/dist/Chatroom.css”; document.getElementsByTagName(‘head’)[0].appendChild(link); let div = document.createElement(‘div’); div.className = ‘chat-container’; div.style.position = ‘absolute’; div.style.right = ‘0’; div.style.bottom = ‘0’; div.style.width = ‘23%’; document.body.appendChild(div); let script = document.createElement(‘script’); script.type = ‘text/javascript’; script.src = ‘https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/[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 https://github.com/JiteshGaikwad/Chatbot-Widget/blob/main/docs/responses.md 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.