Answer the question
In order to leave comments, you need to log in
Send excel spreadsheet to telegram bot?
I am trying to send an excel document via the telegram bot using the sendDocument method by sending the URL of this document on our website.
But I get the error "Bad Request: wrong file identifier/HTTP URL specified".
In the docks in a foreign language, something is written about the supported formats, but the type and other formats should also work as they should.
The link to the document is working, I checked it ..
Who knows where the dog rummaged?
Answer the question
In order to leave comments, you need to log in
The documentation clearly states that only GIF, PDF, and ZIP can be sent via Url.
In sendDocument, sending by URL will currently only work for GIF, PDF and ZIP files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question