We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
onebot规范中消息段的格式为{"type":"xml", "data":{"data":"xml data"}},而收到的格式为{"ClassType": "Xml", "xml":"xml data"}
{"type":"xml", "data":{"data":"xml data"}}
{"ClassType": "Xml", "xml":"xml data"}
如:
{ "ClassType": "Xml", "xml": "<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><msg serviceID=\"35\" templateID=\"1\" action=\"viewMultiMsg\" brief=\"[聊天记录]\" m_resid=\"[手动删除]\" m_fileName=\"[手动删除]\" tSum=\"3\" sourceMsgId=\"0\" url=\"\" flag=\"3\" adverSign=\"0\" multiMsgFlag=\"0\"><item layout=\"1\" advertiser_id=\"0\" aid=\"0\"><title size=\"34\" maxLines=\"2\" lineSpace=\"12\">Cyan和Frank™的聊天记录</title><title size=\"26\" color=\"#777777\" maxLines=\"2\" lineSpace=\"12\">Cyan: ddl总览\n[11/24/2020](symcpt_3)对称密码分析\n[11/…</title><title size=\"26\" color=\"#777777\" maxLines=\"2\" lineSpace=\"12\">Cyan: Loaded Module: Repeater</title><title size=\"26\" color=\"#777777\" maxLines=\"2\" lineSpace=\"12\">Frank™: a</title><hr hidden=\"false\" style=\"0\" /><summary size=\"26\" color=\"#777777\">查看3条转发消息</summary></item><source name=\"聊天记录\" icon=\"\" action=\"\" appid=\"-1\" /></msg>" }
maybe related
onebot-kotlin/onebot-mirai/src/main/kotlin/com/github/yyuueexxiinngg/onebot/util/Json.kt
Lines 27 to 31 in 4c2931d
向bot批量转发聊天记录即可
onebot-kotlin- 0.3.0
kotlin
0.3.0
The text was updated successfully, but these errors were encountered:
dd8cee9
符合OneBot标准的合并转发在此Issue跟踪 #111
Sorry, something went wrong.
0.3.2xml array格式仍然不正确 现在收到的格式为
{ "type": "xml", "ClassType": "Xml", "data": "<xml>" // 此处应为 "data": { "data": "<xml>" } }
已在 a931571 中修复, 将在0.3.3中Release, 现可通过Action下载最新Commit的Jar包
0.3.3
No branches or pull requests
onebot规范中消息段的格式为
{"type":"xml", "data":{"data":"xml data"}}
,而收到的格式为{"ClassType": "Xml", "xml":"xml data"}
如:
maybe related
onebot-kotlin/onebot-mirai/src/main/kotlin/com/github/yyuueexxiinngg/onebot/util/Json.kt
Lines 27 to 31 in 4c2931d
复现
向bot批量转发聊天记录即可
版本
onebot-
kotlin
-0.3.0
The text was updated successfully, but these errors were encountered: