电报bot不要从Windows Server中的xammp服务器发送mp3文件 [英] telegram bot don't send mp3 file from xammp server in windows server
本文介绍了电报bot不要从Windows Server中的xammp服务器发送mp3文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- 我的mp3链接是: 1.mp3
- 操作系统= Windows Server 2008并运行xammp服务器
- 我的代码是:
https://api.telegram.org/bot_token/sendAudio?chat_id=@test&audio=http://panel.cafefars.com:8088/mp3/1.mp3
- My mp3 link is : 1.mp3
- OS = Windows Server 2008 and run xammp server
- My code is :
https://api.telegram.org/bot_token/sendAudio?chat_id=@test&audio=http://panel.cafefars.com:8088/mp3/1.mp3
运行后错误:
{确定":false,"error_code":400,"description":"Bad Request:失败" HTTP URL内容"}}
{"ok":false,"error_code":400,"description":"Bad Request: failed to get HTTP URL content"}
mp3网址正确,但电报未下载
mp3 url is correct but telegram not download
谢谢所有
推荐答案
文件名错误!
URL中的文件名至少应为4位数字(或字母/数字混合)长
这篇关于电报bot不要从Windows Server中的xammp服务器发送mp3文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文