Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法发送视频内容 #190

Open
ptaix opened this issue Aug 15, 2019 · 0 comments
Open

无法发送视频内容 #190

ptaix opened this issue Aug 15, 2019 · 0 comments

Comments

@ptaix
Copy link

ptaix commented Aug 15, 2019

  1. 提供你的包版本信息
    wechaty 版本:"^0.19.162"
    wechaty-puppet-padpro 版本:"^0.19.162"
    node 版本:"v10.16.0"
    你使用的操作系统:windows10

  2. Bug 描述
    FileBox.fromFile无法发送视频内容,微信提示发送失败,接收方看到的是类似发送文件的消息类型,并且无法打开,视频不超过2MB大小

  3. 复现的步骤 (或者解决的步骤)
    微信消息选择指定视频,发送给指定群/个人
    相关代码:
    .on('message',async message=>{
    if (message.text() == "视频") {
    var fileBox = FileBox.fromFile("E:/wx_robot/wechaty/assets/1.mp4")
    await room.say(fileBox)
    }
    })

  4. 期待程序运行的结果
    视频能够以微信默认格式正常发送

  5. 程序实际运行的结果
    视频发送失败

  6. 完整的日志信息:
    无任何日志输出

[bug]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant