Impl forward message

This commit is contained in:
Changhua
2023-12-17 19:09:27 +08:00
parent 80448624b0
commit 2ae40a20a5
10 changed files with 169 additions and 61 deletions
+8
View File
@@ -20,6 +20,7 @@ enum Functions {
FUNC_SEND_EMOTION = 0x24;
FUNC_SEND_RICH_TXT = 0x25;
FUNC_SEND_PAT_MSG = 0x26;
FUNC_FORWARD_MSG = 0x27;
FUNC_ENABLE_RECV_TXT = 0x30;
FUNC_DISABLE_RECV_TXT = 0x40;
FUNC_EXEC_DB_QUERY = 0x50;
@@ -57,6 +58,7 @@ message Request
AudioMsg am = 15;
RichText rt = 16;
PatMsg pm = 17;
ForwardMsg fm = 18;
}
}
@@ -225,3 +227,9 @@ message OcrMsg
int32 status = 1; // 状态
string result = 2; // 结果
}
message ForwardMsg
{
uint64 id = 1; // 待转发消息 ID
string receiver = 2; // 转发接收目标,群为 roomId,个人为 wxid
}