Git Product home page Git Product logo

liteloaderqqnt-onebotapi's Introduction

LLOneBot API

将NTQQLiteLoaderAPI封装成OneBot11/12标准的API, V12没有完整测试

安装方法

1.安装NTQQLiteLoader

2.安装修改后的LiteLoaderQQNT-Plugin-LLAPI,原版的功能有缺陷

3.安装本项目插件OneBotApi

关于插件的安装方法: 上述的两个插件都没有上架NTQQLiteLoader插件市场,需要自己下载源码复制到插件目录

Windows插件目录:%USERPROFILE%/Documents/LiteLoaderQQNT/plugins

Mac插件目录:~/Library/Containers/com.tencent.qq/Data/Documents/LiteLoaderQQNT/plugins

支持的API

目前只支持http协议POST方法,不支持websocket,事件上报也是http协议

  • 获取群列表
  • 获取群成员列表
  • 获取好友列表
  • 发送群消息
  • 发送好友消息
  • 撤回消息
  • 上报好友消息
  • 上报群消息

消息格式支持:

  • 文字
  • 图片
  • 引用消息
  • @群成员
  • 发送语音(只测试了silk编码的amr)
  • 转发消息记录
  • xml

支持的api:

  • get_login_info
  • send_msg
  • send_group_msg
  • send_private_msg
  • delete_msg
  • get_group_list
  • get_group_member_list
  • get_group_member_info
  • get_friend_list

自己发送成功的消息也会上报,可以用于获取需要撤回消息的id

示例

暂时不支持"message": "hello"这种message为字符串的形式

liteloaderqqnt-onebotapi's People

Contributors

linyuchen avatar mo-jinran avatar ydhusky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.