From 57058ac614edcc1facefdb954d27c171258afe8f Mon Sep 17 00:00:00 2001 From: Huanyue <1582884964@qq.com> Date: Tue, 11 Jun 2024 15:58:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server-inter/message/send-receive/send.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/develop/api-v2/server-inter/message/send-receive/send.md b/docs/develop/api-v2/server-inter/message/send-receive/send.md index f767a629..ed3b32fd 100644 --- a/docs/develop/api-v2/server-inter/message/send-receive/send.md +++ b/docs/develop/api-v2/server-inter/message/send-receive/send.md @@ -57,10 +57,13 @@ QQ 用户可以在 QQ 客户端主动设置是否接收机器人发送的主动 --> - **路径参数** + | **属性** | **类型** | **必填** | **说明** | | --- | --- | --- | --- | | openid | string | 是 | QQ 用户的 openid,可在各类事件中获得。 | + - **请求参数** + | **属性** | **类型** | **必填** | **说明** | | --- | --- | --- | --- | | content | string | 否 | 文本内容 | @@ -72,18 +75,22 @@ QQ 用户可以在 QQ 客户端主动设置是否接收机器人发送的主动 | message_reference | object | 否 | 【暂未支持】消息引用 | | event_id | string | 否 | 前置收到的事件 ID,用于发送被动消息,支持事件:"INTERACTION_CREATE"、"C2C_MSG_RECEIVE"、"FRIEND_ADD"| | msg_id | string | 否 | 前置收到的用户发送过来的消息 ID,用于发送被动(回复)消息 | -| msg_seq | int | 否 | 回复消息的序号,与 msg_id 联合使用,避免相同消息id回复重复发送,不填默认是1。相同的 msg_id + msg_seq 重复发送会失败。 +| msg_seq | int | 否 | 回复消息的序号,与 msg_id 联合使用,避免相同消息id回复重复发送,不填默认是1。相同的 msg_id + msg_seq 重复发送会失败。 | + - **返回参数** + | **属性** | **类型** | **说明** | | --- | --- | --- | | id | string | 消息唯一ID | | timestamp | int | 发送时间 | + - **常见错误码** -- 当 msg_type = 7 时,content 字段需要填入一个值,譬如一个空格 “ ”,后续版本会修复该问题。 +- 当 msg_type = 7 时,content 字段需要填入一个值,譬如一个空格 “ ”,后续版本会修复该问题。、 + | **code** | **message** | **说明** | | --- | --- | --- | | 22009 | msg limit exceed | 消息发送超频 | @@ -113,10 +120,13 @@ QQ 用户可以在 QQ 客户端主动设置是否接收机器人发送的主动 --> - **路径参数** + | **属性** | **类型** | **必填** | **说明** | | --- | --- | --- | --- | | group_openid | string | 是 | 群聊的 openid | + - **请求参数** + | **属性** | **类型** | **必填** | **说明** | | --- | --- | --- | --- | | content | string | 是 | 文本内容 | @@ -131,12 +141,15 @@ QQ 用户可以在 QQ 客户端主动设置是否接收机器人发送的主动 | msg_seq | int | 否 | 回复消息的序号,与 msg_id 联合使用,避免相同消息id回复重复发送,不填默认是 1。相同的 msg_id + msg_seq 重复发送会失败。 - **返回参数** + | **属性** | **类型** | **说明** | | --- | --- | --- | | id | string | 消息唯一 ID | | timestamp | int | 发送时间 | + - **常见错误码** - 当 msg_type = 7 时,content 字段需要填入一个值,譬如一个空格 “ ”,后续版本会修复该问题。 + | **code** | **message** | **说明** | | --- | --- | --- | | 22009 | msg limit exceed | 消息发送超频 |