Skip to content

Commit 7f88c46

Browse files
committed
Update chat-ws-go.jwzhd.com.md
1 parent 20a5a63 commit 7f88c46

1 file changed

Lines changed: 0 additions & 51 deletions

File tree

src/api/wss/chat-ws-go.jwzhd.com.md

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -261,54 +261,3 @@ message file_send_message {
261261
```
262262

263263
:::
264-
265-
## 编辑信息推送
266-
267-
返回数据:
268-
269-
```ProtoBuf
270-
info {
271-
seq: "123123123123123123123" // 请求表示码
272-
cmd: "edit_message" // 推送超级文件分享
273-
}
274-
275-
data {
276-
"msg_id": "123123123123" // 信息ID
277-
"chat_id": "123" // 信息对象ID
278-
"chat_type": 1 // 信息对象类别,1-用户,2-群聊,3-机器人
279-
"content": {
280-
“text": "测试信息文本" // 信息文本
281-
"buttons": "测试信息文本" // 按钮信息文本数据
282-
"quote_msg_text": "测试引用信息文本" // 引用信息文本
283-
}
284-
"content_type": 1 // 信息类别,1-文本,3-markdown,8-html
285-
"quote_msg_id": "123123123123" // 引用信息ID
286-
}
287-
```
288-
289-
::: details ProtoBuf数据结构
290-
291-
```proto
292-
// 信息
293-
message INFO {
294-
string seq = 1; // 请求标识码
295-
string cmd = 2; // 操作类型
296-
}
297-
298-
// 编辑消息
299-
message edit_message_send {
300-
string msg_id = 2;
301-
string chat_id = 3;
302-
int32 chat_type = 4;
303-
Content content = 5;
304-
message Content {
305-
string text = 1;
306-
string buttons = 2;
307-
string quote_msg_text = 8;
308-
}
309-
uint64 content_type = 6; // 信息类别,1-文本,3-markdown,8-html
310-
string quote_msg_id = 8; // 引用信息ID
311-
}
312-
```
313-
314-
:::

0 commit comments

Comments
 (0)