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]无法发送base64图片 #171

Open
molanp opened this issue Oct 21, 2024 · 0 comments
Open

[BUG]无法发送base64图片 #171

molanp opened this issue Oct 21, 2024 · 0 comments

Comments

@molanp
Copy link

molanp commented Oct 21, 2024

报错empty message

发送部分代码

Screenshot_2024_1021_223609.png

传入类型为bytes

onebots日志

[2024-10-20T11:46:23.115] [INFO] [OneBots:icqq-V11(3063744668)] -  收到ws消息: {"action": "send_msg", "params": {"user_id": 78xx9, "group_id": 77xxx7, "message_type": "group", "message": [{"type": "image", "data": {"file": "base64://iVBORw0KGgoAAAANSUhEUgAABDgAAAcWCAYAAADgXhJUAAEAAElEQVR4nOz9Z7AkWXbnif2ucPdQT2e+1KoqS+vqUl3Vje4GuhtoAWAADGYw4O7scGd3bY1LmpEfaDR+ohnNaPuJZqTxw4zZ0sid5cxgBmKAgW6FbrRAq+rSOkVlpc6nRUh3v/fyw73u4fFEqqqsyup+pywqI+JFeLi4fu85//M//yMunnjPsWM3bUIIJAIhBMYYtNYMBn1Mf5WJRgTWoYVC4MA5BAIBWFHZiN2wTcCFbY+870A6B7iwlQ1f2GBO+O+46mZc+HzxHEcuBZkSiC22IcJ+OOf87xuHtNc3ZJy49mduxjael21//xbtg78G1/f7ZsNJFW50/4vz6sSGMXG138ePua2u+UazSuEs1EhoX1zgj/7tH7KyssbTn/oUdz/yEKv9NiKWOGHJTZ9EJSSuyeLlFf7kT/6E6V1j/Iv/5r9ganocl8MPv/1D/v6b36PWaPHrv/ObRK06A5disH6MA8r6Y3FhoGml6Pf7nDlzBiklrnL+3MZzucW1lVJirQ1/FuF7ALdogH2EZgzEUUK/l/PCCy8TxzFPP/0kWd7HOQMIpIgQQiGE4403Xufc2bM89dQT1Ot1kiTBWotk87irvAJgaWmFN15/g2azyeOPP4GU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CpMbTG6Yn1tg0O1zzz1305poktsBThicyxFSoJVGCHndTk4Jkgkx8tkPwzn6WJnHQRkMBmRZRr1eR8j ... 874325 more chars
[2024-10-20T11:46:23.120] [ERROR] [OneBots:icqq-V11(3063744668)] - run send_group_msg with args:3 failed: ApiRejection { code: -60, message: 'empty message' }

版本

nonebot2 v11
onebots 0.4.95

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