AlexJialene / smart-qq

🐧Smart/Web QQ API && you can implement your function on this basis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

smart-qq

Stop maintenance

preface && project status

Because the official website protocol changes frequently, So write a project and keep updating.

Stop maintenance(The website is closed)

environment:

  • java 8
  • maven

Sample

new SmartQQClient(new Callback() {
    @Override
    public void onMessage(Message message) {
        System.out.println("用户信息");
    }

    @Override
    public void groupMessage(GroupMessage message) {
        System.out.println("群消息");
    }

    @Override
    public void discuMessage(DiscuMessage message) {
        System.out.println("讨论组消息");
    }
}).startReceive();

Problem

If you start to prompt to receive a message error: pull message json string error!. The reason for this error is that the /poll2 interface returns an error: {"errmsg":"error","retcode":0,"retmsg":"ok"}

how to solve this problem

  • 1.Log on to web/smart QQ and ensure that the message is successful.
  • 2.Start the project (before closing smart/web QQ).

About

🐧Smart/Web QQ API && you can implement your function on this basis.


Languages

Language:Java 100.0%