mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 19:22:46 +08:00
delete msg pb
This commit is contained in:
parent
ba3aa74469
commit
f9d6ffdc1b
File diff suppressed because it is too large
Load Diff
@ -44,21 +44,6 @@ message SendMsgResp {
|
||||
}
|
||||
|
||||
|
||||
message ClearMsgReq{
|
||||
string userID = 1;
|
||||
}
|
||||
|
||||
|
||||
message ClearMsgResp{
|
||||
}
|
||||
|
||||
message SetMsgMinSeqReq{
|
||||
string userID = 1;
|
||||
string groupID = 2;
|
||||
uint32 minSeq = 3;
|
||||
}
|
||||
message SetMsgMinSeqResp{
|
||||
}
|
||||
|
||||
message SetSendMsgStatusReq{
|
||||
int32 status = 1;
|
||||
@ -74,28 +59,6 @@ message GetSendMsgStatusResp{
|
||||
int32 status = 1;
|
||||
}
|
||||
|
||||
message DelSuperGroupMsgReq{
|
||||
string userID = 1;
|
||||
string groupID = 2;
|
||||
}
|
||||
|
||||
message DelSuperGroupMsgResp{
|
||||
}
|
||||
|
||||
message GetSuperGroupMsgReq{
|
||||
int64 Seq = 1;
|
||||
string groupID = 2;
|
||||
}
|
||||
message GetSuperGroupMsgResp{
|
||||
sdkws.MsgData msgData = 1;
|
||||
}
|
||||
|
||||
message GetWriteDiffMsgReq{
|
||||
int64 Seq = 1;
|
||||
}
|
||||
message GetWriteDiffMsgResp{
|
||||
sdkws.MsgData msgData = 2;
|
||||
}
|
||||
|
||||
message ModifyMessageReactionExtensionsReq {
|
||||
string conversationID = 1;
|
||||
@ -204,6 +167,46 @@ message RevokeMsgReq {
|
||||
message RevokeMsgResp {
|
||||
}
|
||||
|
||||
message ClearConversationsMsgReq {
|
||||
repeated string conversationIDs = 1;
|
||||
string userID = 2;
|
||||
}
|
||||
|
||||
message ClearConversationsMsgResp {
|
||||
}
|
||||
|
||||
message ClearAllMsgReq {
|
||||
string userID = 1;
|
||||
}
|
||||
|
||||
message ClearAllMsgResp {
|
||||
}
|
||||
|
||||
message DeleteMsgReq {
|
||||
string conversationID = 1;
|
||||
repeated int64 seqs = 2;
|
||||
string userID = 3;
|
||||
}
|
||||
|
||||
message DeleteMsgResp {
|
||||
}
|
||||
|
||||
message DeleteMsgPhysicalReq {
|
||||
repeated string conversationIDs = 1;
|
||||
int64 remainTime = 2;
|
||||
}
|
||||
|
||||
message DeleteMsgPhysicalResp {
|
||||
}
|
||||
|
||||
message DeleteNsgPhysicalBySeqReq {
|
||||
string conversationID = 1;
|
||||
repeated int64 seqs = 2;
|
||||
}
|
||||
|
||||
message DeleteNsgPhysicalBySeqResp {
|
||||
}
|
||||
|
||||
service msg {
|
||||
//获取最小最大seq(包括用户的,以及指定群组的)
|
||||
rpc GetMaxSeq(sdkws.GetMaxSeqReq) returns(sdkws.GetMaxSeqResp);
|
||||
@ -211,12 +214,16 @@ service msg {
|
||||
rpc PullMessageBySeqs(sdkws.PullMessageBySeqsReq) returns(sdkws.PullMessageBySeqsResp);
|
||||
//发送消息
|
||||
rpc SendMsg(SendMsgReq) returns(SendMsgResp);
|
||||
//删除某人消息
|
||||
rpc DelMsgs(DelMsgsReq) returns(DelMsgsResp);
|
||||
//删除某个用户某个大群消息
|
||||
rpc DelSuperGroupMsg(DelSuperGroupMsgReq) returns(DelSuperGroupMsgResp);
|
||||
//清空某人所有消息
|
||||
rpc ClearMsg(ClearMsgReq) returns(ClearMsgResp);
|
||||
|
||||
// 全量清空指定会话消息 重置min seq 比最大seq大1
|
||||
rpc ClearConversationsMsg(ClearConversationsMsgReq) returns(ClearConversationsMsgResp);
|
||||
// 删除用户全部消息 重置min seq 比最大seq大1
|
||||
rpc ClearAllMsg(ClearAllMsgReq) returns(ClearAllMsgResp);
|
||||
// 用户标记删除部分消息by Seq
|
||||
rpc DeleteMsg(DeleteMsgReq) returns(DeleteMsgResp);
|
||||
// seq物理删除消息
|
||||
rpc DeleteNsgPhysicalBySeq(DeleteNsgPhysicalBySeqReq) returns(DeleteNsgPhysicalBySeqResp);
|
||||
|
||||
//设置消息是否发送成功-针对api发送的消息
|
||||
rpc SetSendMsgStatus(SetSendMsgStatusReq) returns(SetSendMsgStatusResp);
|
||||
//获取消息发送状态
|
||||
|
@ -3857,7 +3857,6 @@ type RevokeMsgTip struct {
|
||||
SesstionType int64 `protobuf:"varint,5,opt,name=sesstionType,proto3" json:"sesstionType"`
|
||||
Seq int64 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq"`
|
||||
ConversationID string `protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID"`
|
||||
Ex string `protobuf:"bytes,8,opt,name=ex,proto3" json:"ex"`
|
||||
}
|
||||
|
||||
func (x *RevokeMsgTip) Reset() {
|
||||
@ -3934,13 +3933,6 @@ func (x *RevokeMsgTip) GetConversationID() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RevokeMsgTip) GetEx() string {
|
||||
if x != nil {
|
||||
return x.Ex
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// /////////////////signal//////////////
|
||||
type SignalReq struct {
|
||||
state protoimpl.MessageState
|
||||
@ -6863,7 +6855,7 @@ var file_sdkws_sdkws_proto_rawDesc = []byte{
|
||||
0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65,
|
||||
0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
|
||||
0x44, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52,
|
||||
0x04, 0x73, 0x65, 0x71, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65,
|
||||
0x04, 0x73, 0x65, 0x71, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65,
|
||||
0x4d, 0x73, 0x67, 0x54, 0x69, 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65,
|
||||
0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72,
|
||||
0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b,
|
||||
@ -6876,8 +6868,7 @@ var file_sdkws_sdkws_proto_rawDesc = []byte{
|
||||
0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x03, 0x73, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f,
|
||||
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x0e, 0x0a, 0x02,
|
||||
0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x65, 0x78, 0x22, 0xeb, 0x06, 0x0a,
|
||||
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xeb, 0x06, 0x0a,
|
||||
0x09, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x06, 0x69, 0x6e,
|
||||
0x76, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x4f, 0x70, 0x65,
|
||||
0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2e,
|
||||
|
Loading…
x
Reference in New Issue
Block a user