wechaty / python-wechaty

Python Wechaty is a Conversational RPA SDK for Chatbot Makers written in Python
https://wechaty.readthedocs.io/zh_CN/latest/
Apache License 2.0
1.55k stars 229 forks source link

[Bug]: pad协议,say FileBox异常 #395

Open Jian-er opened 1 year ago

Jian-er commented 1 year ago

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 1 year ago

还有 mimeType will be deprecated after Dec, 2022, we suggest that you should use mediaType property 请问这个提示应该怎样去解决?