[Bug]: pad协议,say FileBox异常
Jian-er opened this issue · 1 comments
Jian-er commented
Environment
- wechaty:
- wechaty-puppet:
- wechaty-puppet-service:
- wechaty-plugin-contrib:
- token type: padlocal|wxwork|xp
- the version of wechaty docker container: [0.65]
Description
2023-05-10 15:16:31,487 - FileBox - INFO - init file-box<<class 'wechaty_puppet.file_box.type.FileBoxOptionsUrl'>, test.mp4>
2023-05-10 15:16:31,487 - FileBox - WARNING - mimeType will be deprecated after Dec, 2022, we suggest that you should use mediaType property
2023-05-10 15:16:31,487 - Room - INFO - Room say <<wechaty_puppet.file_box.file_box.FileBox object at 0x00000259C040AA08>, None>
2023-05-10 15:16:31,488 - FileBox - WARNING - mimeType will be deprecated after Dec, 2022, we suggest that you should use mediaType property
2023-05-10 15:16:31,488 - FileBox - WARNING - mimeType will be deprecated after Dec, 2022, we suggest that you should use mediaType property
没有发送成功,也没有报错
Minimum reproducible code
file_box: Union[str, FileBox] = FileBox.from_url('https://test.ihealthmind.cn/uploadFiles/1zhengqueyinshui-20230427011223442.mp4', 'test.mp4')
await room.ready()
await room.say(file_box)
Jian-er commented
还有 mimeType will be deprecated after Dec, 2022, we suggest that you should use mediaType property 请问这个提示应该怎样去解决?