跳到主要内容

消息字段发送测试

测试内容

测试结果

  • 1.1
    • 文字+换行+文字+超级表情+小黄脸表情+emoji表情
    • 其中 12xxxx 类的表情代码已经无效,实际为 emoji 表情
  • 1.2
    • 文字+换行+文字+emoji表情
    • LR232 无法发送表情
  • 1.3
    • 文字+at+文字
    • at 错误的 qq 号会发送失败
    • LR232 无法发送 at
  • 1.4
    • 超级表情(单发)
    • 表情单发就是超级表情
    • LR232 无法发送表情
  • 2.1
    • 猜拳/骰子(单独)
    • 无法指定包剪锤及骰子的结果(需要从序号获取)
    • LR232 无法发送表情
  • 2.2
    • 文字+猜拳+骰子
    • 骰子与猜拳跟文字一起发仍然会缩小,但猜拳会包含结果(虽然看不出来)且结果与发送结果一致
  • 3.1
    • 回复+骰子
    • 骰子跟回复一起发会缩小,但骰子也会包含结果(与发送不一致)
    • 猜拳不会包含结果
    • LR232 无法使用(msg_reference 使用 id、返回的 dict 均不行)
  • 4.1
    • 转发单条私聊到群聊
  • 4.2
    • 合并转发,转发节点组/单独
    • 节点发送格式为[节点:qq号|昵称|消息]
    • 其中消息要么是单独一条消息,要么是节点组[][][],每个节点组都是一个节点
  • 5.1
    • 戳戳
    • 这里的戳戳实际上是双击头像(即消息接收格式里的戳戳,不是消息接收字段里的戳戳)
    • LR232 无法发送抖动消息
  • 6.1
    • 商城表情
    • vip 表情即使获取了 key 等信息也无法发送
  • 6.2
    • 自定义表情
  • 6.3
    • 文字+图片
    • LR232 能够成功分离文字和图片
    • LR232 能够发送 gif 图片,文档中未标明
  • 6.4
    • 文字+换行+文字+普通表情+商城表情+商城表情+emoji表情+伪造表情
    • 电脑端可能会第一次解析不出来,刷新一下就好了
  • 6.5
    • 文字+图片
    • BILI 能够成功分离文字和图片
    • 图片大于 20MB 会报错 ReadTimeout
  • 6.6
    • 图片
    • WECHAT 会把 gif 图片转换成 jpg
    • WECHAT 无法发送表情
  • 7.1
    • 语音
    • LR232 语音手机可以播放,电脑播放不了
    • WECHAT 语音长度限制 60 s
  • 8.1
    • 视频
    • 虽然没有说明,但 LR232 发送视频的限制为 10 MB
  • 9.1
    • 文件
  • 10.1
    • LR232
      • 发送 ark 消息(无权限)
      • 发送 markdown 消息(无被动发送权限)
      • 发送 embed 消息(群聊/私聊未开放)
  • 11.1
    • LR5921
    • 字段:type,id
    • 获取推荐卡片的接口使用,暂不解析
  • 12.1
    • LR5921
    • 字段:type,id
    • 发送音乐卡片(测试失败)和自定义音乐卡片时使用,暂不解析

1.1

处理结果

1\n2\[表情:打call][表情:爱心]😊

原字段
[
{
"type": "text",
"data": {
"text": "1\n2"
}
},
{
"type": "face",
"data": {
"id": "311"
}
},
{
"type": "face",
"data": {
"id": "66"
}
},
{
"type": "text",
"data": {
"text": "😊"
}
}
]

1.2

处理结果

1\n2😊

原字段
[
{
"type": "text",
"data": {
"text": "1\n2😊"
}
}
]

1.3

处理结果

1[at:3889270613]

原字段
[
{
"type": "text",
"data": {
"text": "1"
}
},
{
"type": "at",
"data": {
"qq": "3889270613"
}
}
]

1.4

处理结果

[表情:打call]

原字段
[
{
"type": "face",
"data": {
"id": "311"
}
}
]

2.1

处理结果

[猜拳:布] [骰子:6]

原字段
[
{
"type": "rps",
"data": {
"result": "1"
}
}
]
[
{
"type": "dice",
"data": {
"result": "6"
}
}
]

2.2

处理结果

1[猜拳:石头][骰子:6]

原字段
[
{
"type": "text",
"data": {
"text": "1"
}
},
{
"type": "rps",
"data": {
"result": "3"
}
},
{
"type": "dice",
"data": {
"result": "6"
}
}
]

3.1

处理结果

[回复:[1965626630][骰子:6]

原字段
[
{
"type": "reply",
"data": {
"id": "1965626630"
}
},
{
"type": "dice",
"data": {
"result": "6"
}
}
]

4.1

处理结果

[转发:[1655018485]]

原字段
[
{
"type": "forward",
"data": {
"id": "1655018485"
}
}
]

4.2

处理结果

[节点:20250831|阿漂|[节点:20250801|阿漂|第一天,她没有来[表情:流泪]][节点:20250802|阿漂|第二天,她没有来[表情:流泪]][节点:20250803|阿漂|第三天,她没有来[表情:流泪]][节点:20250810|阿漂|我不会再等了[表情:流泪]][节点:20250831|弗洛洛|[节点:123|女巫甲|斑猫已经叫过三声][节点:456|女巫乙|刺猬已经啼了四次][节点:789|女巫丙|怪鸟在鸣啸:时候到了,时候到了]]]

原字段
[
{
"type": "node",
"data": {
"user_id": "20250831",
"nickname": "阿漂",
"content": [
{
"type": "node",
"data": {
"user_id": "20250801",
"nickname": "阿漂",
"content": [
{
"type": "text",
"data": {
"text": "第一天,她没有来"
}
},
{
"type": "face",
"data": {
"id": "5"
}
}
]
}
},
{
"type": "node",
"data": {
"user_id": "20250802",
"nickname": "阿漂",
"content": [
{
"type": "text",
"data": {
"text": "第二天,她没有来"
}
},
{
"type": "face",
"data": {
"id": "5"
}
}
]
}
},
{
"type": "node",
"data": {
"user_id": "20250803",
"nickname": "阿漂",
"content": [
{
"type": "text",
"data": {
"text": "第三天,她没有来"
}
},
{
"type": "face",
"data": {
"id": "5"
}
}
]
}
},
{
"type": "node",
"data": {
"user_id": "20250810",
"nickname": "阿漂",
"content": [
{
"type": "text",
"data": {
"text": "我不会再等了"
}
},
{
"type": "face",
"data": {
"id": "5"
}
}
]
}
},
{
"type": "node",
"data": {
"user_id": "20250831",
"nickname": "弗洛洛",
"content": [
{
"type": "node",
"data": {
"user_id": "123",
"nickname": "女巫甲",
"content": [
{
"type": "text",
"data": {
"text": "斑猫已经叫过三声"
}
}
]
}
},
{
"type": "node",
"data": {
"user_id": "456",
"nickname": "女巫乙",
"content": [
{
"type": "text",
"data": {
"text": "刺猬已经啼了四次"
}
}
]
}
},
{
"type": "node",
"data": {
"user_id": "789",
"nickname": "女巫丙",
"content": [
{
"type": "text",
"data": {
"text": "怪鸟在鸣啸:时候到了,时候到了"
}
}
]
}
}
]
}
}
]
}
}
]

5.1

处理结果

[戳戳:戳一戳]

原字段
[
{
"type": "poke",
"data": {
"type": "1",
"id": "1"
}
}
]

6.1

处理结果

[动画表情:真相只有一个!|柯南_ok]

原字段
[
{
"type": "mface",
"data": {
"summary": "真相只有一个!",
"key": "c076fb0164258135",
"emoji_id": "ae2f9b2d23f491ba148f945fecb80437",
"emoji_package_id": "243234"
}
}
]

6.2

处理结果

[图片:真相只有一个!|{path}/storage/file/command/download.gif]

原字段
[
{
"type": "image",
"data": {
"file": "/app/storage/file/command/download.gif",
"summary": "真相只有一个!"
}
}
]

6.3

处理结果

123[图片:{path}/storage/file/command/download.gif]

原字段
[
{
"type": "text",
"data": {
"text": "123"
}
},
{
"type": "image",
"data": {
"file": "/app/storage/file/command/download.gif"
}
}
]

6.4

处理结果

1\n2[动画表情:[doge_金箍]][动画表情:[热词系列_再给一集]][动画表情:[tv_白眼]]😊[动画表情:[你好]]

原字段
[
{
"type": "text",
"data": {
"text": "1\n2"
}
},
{
"type": "image",
"data": {
"summary": "[doge_金箍]"
}
},
{
"type": "image",
"data": {
"summary": "[热词系列_再给一集]"
}
},
{
"type": "image",
"data": {
"summary": "[tv_白眼]"
}
},
{
"type": "text",
"data": {
"text": "😊"
}
},
{
"type": "image",
"data": {
"summary": "[你好]"
}
}
]

6.5

处理结果

1[图片:/app/storage/file/command/download.gif]

原字段
[
{
"type": "text",
"data": {
"text": "1"
}
},
{
"type": "image",
"data": {
"file": "/app/storage/file/command/download.gif"
}
}
]

6.6

处理结果

[图片:/app/storage/file/command/download.gif]

原字段
[
{
"type": "image",
"data": {
"file": "/app/storage/file/command/download.gif"
}
}
]

7.1

处理结果

[语音:/app/storage/file/firefly/1.mp3]

原字段
[
{
"type": "record",
"data": {
"file": "/app/storage/file/firefly/1.mp3"
}
}
]

8.1

处理结果

[视频:/app/storage/file/firefly/3.mp4]

原字段
[
{
"type": "video",
"data": {
"file": "/app/storage/file/firefly/3.mp4"
}
}
]

9.1

处理结果

[文件:/app/storage/file/firefly/abc]

原字段
[
{
"type": "file",
"data": {
"file": "/app/storage/file/firefly/abc"
}
}
]

10.1

处理结果

WECHAT 发送格式:

  • 微信-音乐|title|description|url
  • 微信-图文|title|description|picurl|url

11.1

处理结果

12.1

处理结果