mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 05:12:17 +00:00
Compare commits
2 Commits
f296eb5cdb
...
c488d82a48
Author | SHA1 | Date | |
---|---|---|---|
c488d82a48 | |||
cf914f711a |
@ -419,3 +419,23 @@ data 的响应内容为 json 数组,每个元素内容如下:
|
||||
|
||||
:::
|
||||
|
||||
## 设置消息底部评论小表情
|
||||
|
||||
貌似是从别的地方抄的奇怪功能,目前版本(9.0.15)只在部分群聊进行灰度测试!
|
||||
|
||||
### API 端点
|
||||
|
||||
`/set_group_comment_face`
|
||||
|
||||
### 参数
|
||||
|
||||
| 字段 | 类型 | 必须 | 说明 |
|
||||
| -------- | ----- | ---- | ----- |
|
||||
| group_id | int64 | 是 | 群号 |
|
||||
| msg_id | int32 | 是 | 消息ID |
|
||||
| face_id | int32 | 是 | 表情ID |
|
||||
| is_set | bool | 否 | 是否设置或取消评论 |
|
||||
|
||||
### 响应
|
||||
|
||||
该接口将返回处理结果,其中 `data` 字段无数据。。
|
@ -47,6 +47,7 @@ icon: comment-dots
|
||||
| 字段 | 类型 | 收 | 发 | 必填 | 说明 |
|
||||
| ---- | ---- | --- | --- | ---- | ------- |
|
||||
| id | int | ✓ | ✓ | 是 | 表情 ID |
|
||||
| big | bool | ✓ | X | 否 | 是否是大表情 |
|
||||
|
||||
::: tip 提示
|
||||
表情 ID 可以在 [这里](https://github.com/richardchien/coolq-http-api/wiki/%E8%A1%A8%E6%83%85-CQ-%E7%A0%81-ID-%E8%A1%A8) 查看。
|
||||
@ -57,7 +58,7 @@ icon: comment-dots
|
||||
@tab CQ 码
|
||||
|
||||
```
|
||||
[CQ:face,id=1]
|
||||
[CQ:face,id=351,big=true]
|
||||
```
|
||||
|
||||
@tab 消息段
|
||||
@ -66,7 +67,43 @@ icon: comment-dots
|
||||
{
|
||||
"type": "face",
|
||||
"data": {
|
||||
"id": 1
|
||||
"id": 351,
|
||||
"big": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
## 弹射表情
|
||||
|
||||
### 参数
|
||||
|
||||
| 字段 | 类型 | 收 | 发 | 必填 | 说明 |
|
||||
| ---- | ---- | --- | --- | ---- | ------- |
|
||||
| id | int | ✓ | ✓ | 是 | 表情 ID |
|
||||
| count | int | ✓ | √ | 是 | 数量 |
|
||||
|
||||
::: tip 提示
|
||||
表情 ID 可以在 [这里](https://github.com/richardchien/coolq-http-api/wiki/%E8%A1%A8%E6%83%85-CQ-%E7%A0%81-ID-%E8%A1%A8) 查看。
|
||||
:::
|
||||
|
||||
::: tabs
|
||||
|
||||
@tab CQ 码
|
||||
|
||||
```
|
||||
[CQ:bubble_face,id=351,count=114514]
|
||||
```
|
||||
|
||||
@tab 消息段
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "bubble_face",
|
||||
"data": {
|
||||
"id": 351,
|
||||
"count": 114514
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user