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

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

Open
Jian-er opened this issue May 10, 2023 · 1 comment
Open

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

Jian-er opened this issue May 10, 2023 · 1 comment

Comments

@Jian-er
Copy link

Jian-er commented May 10, 2023

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
Copy link
Author

Jian-er commented May 10, 2023

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

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