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

请求适配私聊中的 QQ大表情 #145

Open
YangRucheng opened this issue Jan 17, 2025 · 1 comment
Open

请求适配私聊中的 QQ大表情 #145

YangRucheng opened this issue Jan 17, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@YangRucheng
Copy link

示例:

  • 私聊
<faceType=4,faceId="",ext="eyJ0ZXh0IjoiW+aUvuS4i+e0oOi0qF0ifQ==">
[EventType.C2C_MESSAGE_CREATE]: Message XXX from XXX: [Text(type='text', data={'text': '<faceType=4,faceId="",ext="eyJ0ZXh0IjoiW+aUvuS4i+e0oOi0qF0ifQ==">'})]
  • 频道私聊
[Text(type='text', data={'text': '[放下素质]'})]
[EventType.DIRECT_MESSAGE_CREATE]: Message XXX from XXX: [Text(type='text', data={'text': '[放下素质]'})]

私聊中的大表情是一段代码,像频道私聊一样显示 或者 单独一个消息段都可以。现在 get_plaintext 会返回一串

@yanyongyu yanyongyu added the enhancement New feature or request label Jan 17, 2025
@yanyongyu
Copy link
Member

yanyongyu commented Jan 17, 2025

新版表情格式尚未正式上线,有空的时候兼容下。

https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/message_format.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants