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

希望native能增加对QQ频道消息的支持 #156

Open
Pika-Lee opened this issue Mar 1, 2022 · 0 comments
Open

希望native能增加对QQ频道消息的支持 #156

Pika-Lee opened this issue Mar 1, 2022 · 0 comments
Labels
plugin support Migrate legacy CoolQ plugin to Mirai Native

Comments

@Pika-Lee
Copy link

Pika-Lee commented Mar 1, 2022

8.8.11 以后版本的手Q(也包括 IOS 和 ipad)和PC内测版(http://dldir1.qq.com/qqfile/qq/PCQQ9.5.2/QQ9.5.2.27899.exe )已经支持频道。相比QQ群,单个QQ频道人数可达10w。希望native后续能支持QQ频道消息。
频道是 GUILD,并且每个频道有一个 ID。频道内有子频道,相当于一个小群。可以设置部分人发言、发言频率等。界面上跟 discord 很相似。

可以通过以下链接加入QQ频道:
https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&inviteCode=1nL0F4&from=114514&biz=ka

研究了一下,频道相关的通讯跟其他消息不是同一个协议。这个协议在手机QQ上都是通过一个 com.tencent.gprosdk.IGProSdkWrapper 接口实现,而安装包中唯一实现这个接口的类是 com.tencent.gprosdk.IGProSdkWrapper$CppProxy。故名思意,都是在 native 代码中实现的。
以下是相关文件
IGProSdkWrapper$CppProxy.zip
libgpro.zip

在 PC 端,则是通过 gpro.win32.node 这个 dll 进行通讯,所以也是在 native 进行通讯。

image

(ps:隔壁go-cqhttp已经支持频道功能了,希望Mirai也能支持)

@Pika-Lee Pika-Lee added the plugin support Migrate legacy CoolQ plugin to Mirai Native label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin support Migrate legacy CoolQ plugin to Mirai Native
Projects
None yet
Development

No branches or pull requests

1 participant