mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-14 14:05:59 +08:00
push
This commit is contained in:
+12
-35
@@ -4,46 +4,23 @@ option go_package = "Open_IM/pkg/proto/push;pbPush";
|
||||
package push;
|
||||
|
||||
message PushMsgReq {
|
||||
string operationID = 1;
|
||||
sdkws.MsgData msgData = 2;
|
||||
string pushToUserID = 3;
|
||||
}
|
||||
message PushMsgResp{
|
||||
int32 ResultCode = 1;
|
||||
}
|
||||
message DelUserPushTokenReq{
|
||||
string operationID = 1;
|
||||
string userID =2;
|
||||
int32 platformID = 3;
|
||||
}
|
||||
message DelUserPushTokenResp{
|
||||
int32 errCode = 1;
|
||||
string errMsg = 2;
|
||||
sdkws.MsgData msgData = 1;
|
||||
string sourceID = 2;
|
||||
}
|
||||
|
||||
//message InternalPushMsgReq{
|
||||
// int32 ReqIdentifier = 1;
|
||||
// string Token = 2;
|
||||
// string SendID = 3;
|
||||
// string OperationID = 4;
|
||||
// int32 MsgIncr = 5;
|
||||
// int32 PlatformID = 6;
|
||||
// int32 SessionType = 7;
|
||||
// int32 MsgFrom = 8;
|
||||
// int32 ContentType = 9;
|
||||
// string RecvID = 10;
|
||||
// repeated string ForceList = 11;
|
||||
// string Content = 12;
|
||||
// string Options = 13;
|
||||
// string ClientMsgID = 14;
|
||||
// string OffLineInfo = 15;
|
||||
// string Ex = 16;
|
||||
//
|
||||
//}
|
||||
message PushMsgResp{
|
||||
}
|
||||
|
||||
message DelUserPushTokenReq{
|
||||
string userID = 1;
|
||||
int32 platformID = 2;
|
||||
}
|
||||
|
||||
message DelUserPushTokenResp{
|
||||
}
|
||||
|
||||
service PushMsgService {
|
||||
rpc PushMsg(PushMsgReq) returns(PushMsgResp);
|
||||
rpc DelUserPushToken(DelUserPushTokenReq) returns(DelUserPushTokenResp);
|
||||
// rpc InternalPushMsg(InternalPushMsgReq)returns(PushMsgResp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user