From 0f2e1dd56470daf9c7c589ece63afdb7fe9882f8 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Thu, 13 Apr 2023 15:03:23 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=92=A4=E5=9B=9E=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gim/business.ext.proto | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gim/business.ext.proto b/gim/business.ext.proto index 6854590..4f34cea 100644 --- a/gim/business.ext.proto +++ b/gim/business.ext.proto @@ -19,6 +19,28 @@ service BusinessExt { rpc EmoticonList (Empty) returns (EmoticonListResp); // 判断是否为好友关系 rpc IsFriends (IsFriendsReq) returns (IsFriendsResp); + // 投诉群 + rpc ComplainGroup (ComplainGroupReq) returns (Empty); +} + + +message ComplainGroupReq { + int64 group_id = 1; + ComplainType complain_type = 2; // 投诉类型 + string text = 3; // 投诉内容 + repeated string image_list = 4; // 图片 +} + +// 消息类型 +enum ComplainType { + CT_UNKNOWN = 0; // 未知 + CT_GAMBLE = 1; // 存在赌博行为 + MT_DEFRAUD = 2; // 存在骗钱行为 + MT_HARASS = 3; // 不当信息骚扰 + MT_RUMOUR = 4; // 传播谣言 + MT_COUNTERFEIT_GOODS_INFO = 5; // 发布假冒商品信息 + MT_VIOLATION_OF_MINORS = 6; // 侵犯未成年人权益 + MT_OTHER = 7; // 其他 }