Replies: 1 comment
-
Hi @seamuswc, use sendDocument method: bot.api.send_document(chat_id: message.chat.id, document: Faraday::UploadIO.new('/Users/atipugin/Desktop/1.pdf', 'application/pdf')) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the docs there is an example for sending a photo:
Could someone provide an example for a document file, or point me to the method that handles it in source code.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions