Send PDF files

Hi everyone, I built a chatbot, and I want to make it able to send PDF files in the conversation to the human user. Is it possible? and if yes, how canI do it? Thanks in advance.

This works on Telegram:

attachment = {"document": ""}

Thank you for your reply It prints this error: AttributeError: ‘CollectingDispatcher’ object has no attribute ‘utter_custom_json’ I tried to modify the CollectingDispatcher Class and add utter_custom_json but it didn’t work. Do you have any idea? Thanks in advance

Did you sort out this issue @OmarDhouib95 ?

This does not work :confused: