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

ducumentation v2 表情表态对象中有错误 #178

Open
XeronOwO opened this issue Dec 5, 2023 · 0 comments
Open

ducumentation v2 表情表态对象中有错误 #178

XeronOwO opened this issue Dec 5, 2023 · 0 comments

Comments

@XeronOwO
Copy link

XeronOwO commented Dec 5, 2023

https://bot.q.qq.com/wiki/develop/api-v2/openapi/reaction/model.html#MessageReaction
a441fa2ba0e462b64b42312757265d16
如图,API返回的ReactionTarget中的type是字符串值,例如"ReactionTargetType_MSG",不是文档中所写的ReactionTargetType枚举类型

[13:40:22 DBG] WebSocket接收 => {"op":0,"s":4,"t":"MESSAGE_REACTION_ADD","id":"MESSAGE_REACTION_ADD:650eeb77-39d5-447e-b69e-24cda37a6d1a","d":{"channel_id":"633611136","emoji":{"id":"128076","type":2},"guild_id":"15891579067150311249","target":{"id":"08d1be9c8ceede8ec5dc011080c790ae02386448c1efbaab06","type":"ReactionTargetType_MSG"},"user_id":"17663315303296870640"}
[13:40:22 INF] MessageReactionAdd
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