Masuda.Net icon indicating copy to clipboard operation
Masuda.Net copied to clipboard

无法发送图片

Open ProjektMing opened this issue 2 years ago • 2 comments
trafficstars


name: Bug report about: ImageSending. title: 'Unable to send image.' labels: 'image' assignees: ''


Describe the bug 使用demo中的图片,返回{"code":40004,"message":"file not allow download"} 使用路过图床提供的图片url,返回{"code":304017,"message":"upload image error"} 错误地引用链接,返回400002

To Reproduce Steps to reproduce the behavior: 1.运行.\BotDemo\Program.cs。 2.发送消息“@* 来点图” 3.更改图片链接为此处,并重复1、2。

Expected behavior 正常输出图片

Screenshots If applicable, add screenshots to help explain your problem. pS16DAg.png Desktop (please complete the following information):

  • OS: Windows 10 家庭中文版

版本号 22H2 安装日期 ‎2021-‎12-‎10 操作系统内部版本 19045.2486 体验 Windows Feature Experience Pack 120.2212.4190.0

  • IDE:Visual Studio Community 2022 17.4.4
  • SDK Version 6.0.13

ProjektMing avatar Jan 17 '23 04:01 ProjektMing

demo的图链接似乎已经不存在了(后面我更新个链接) 经过测试,百度搜到的图能正常发出,提供的链接不行。可能是tx那边无法下载,可能有跨域保护等问题。可以试试更换图源,或是下载后通过path上传图像

ssccinng avatar Jan 17 '23 15:01 ssccinng

demo的图链接似乎已经不存在了(后面我更新个链接) 经过测试,百度搜到的图能正常发出,提供的链接不行。可能是tx那边无法下载,可能有跨域保护等问题。可以试试更换图源,或是下载后通过path上传图像

晚点我联系一下官方看看这个图链接为什么不能download

ssccinng avatar Jan 17 '23 15:01 ssccinng