Skip to content

Commit 38e198c

Browse files
committed
doc: readme
1 parent 64cc46b commit 38e198c

1 file changed

Lines changed: 39 additions & 1 deletion

File tree

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
11
# LLOneBot API
22

3-
将NTQQLiteLoaderAPI封装成OneBot标准的API
3+
将NTQQLiteLoaderAPI封装成OneBot11/12标准的API
4+
5+
## 安装方法
6+
7+
1.安装[NTQQLiteLoader](https://github.com/LiteLoaderQQNT/LiteLoaderQQNT)
8+
9+
2.安装修改后的[LiteLoaderQQNT-Plugin-LLAPI](https://github.com/linyuchen/LiteLoaderQQNT-Plugin-LLAPI),原版的功能有缺陷
10+
11+
3.安装本项目插件[OneBotApi](https://github.com/linyuchen/LiteLoaderQQNT-OneBotApi)
12+
13+
*关于插件的安装方法: 上述的两个插件都没有上架NTQQLiteLoader插件市场,需要自己下载源码复制到插件目录*
14+
15+
*Windows插件目录:`%USERPROFILE%/Documents/LiteLoaderQQNT/plugins`*
16+
17+
*Mac插件目录:`~/Library/Containers/com.tencent.qq/Data/Documents/LiteLoaderQQNT/plugins`*
18+
19+
## 支持的API
20+
21+
目前只支持http协议,不支持websocket,事件上报也是http协议
22+
23+
- [x] 获取群列表
24+
- [x] 获取群成员列表
25+
- [x] 获取好友列表
26+
- [x] 发送群消息
27+
- [x] 发送好友消息
28+
- [x] 撤回消息
29+
- [x] 上报好友消息
30+
- [x] 上报群消息
31+
32+
消息格式支持:
33+
- [x] 文字
34+
- [x] 图片
35+
- [x] 引用消息
36+
- [x] @群成员
37+
- [x] 发送语音(只测试了silk编码的amr)
38+
- [ ] 转发消息记录
39+
- [ ] xml
40+
41+
**自己发送成功的消息也会上报,可以用于获取需要撤回消息的id**

0 commit comments

Comments
 (0)