You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
How can I use, for example, a file located in the path /root/mymusic.mp3 to telegram-bot-api that is running locally in methods such as sendAudio and sendDocument?
I tried the following cases but they did not work and I get the error Bad Request: wrong file identifier/HTTP URL specified.
Hello.
How can I use, for example, a file located in the path /root/mymusic.mp3 to telegram-bot-api that is running locally in methods such as sendAudio and sendDocument?
I tried the following cases but they did not work and I get the error Bad Request: wrong file identifier/HTTP URL specified.
file:///localhost/root/mymusic.mp3
file://localhost/root/mymusic.mp3
file:/localhost/root/mymusic.mp3
localhost/root/mymusic.mp3
/root/mymusic.mp3
https://localhost/root/mymusic.mp3
http://localhost/root/mymusic.mp3
https://SERVERIP/root/mymusic.mp3
http://SERVERIP/root/mymusic.mp3
I received a Bad Request error in all cases.
The text was updated successfully, but these errors were encountered: