mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
pb file
This commit is contained in:
parent
32dffb0375
commit
7cb42c49de
@ -64,10 +64,35 @@ message UpdateUserInfoReq{
|
|||||||
string OperationID = 9;
|
string OperationID = 9;
|
||||||
string Uid = 10;
|
string Uid = 10;
|
||||||
}
|
}
|
||||||
|
message GetUsersOnlineStatusReq{
|
||||||
|
repeated string userIDList = 1;
|
||||||
|
string operationID = 2;
|
||||||
|
}
|
||||||
|
message GetUsersOnlineStatusResp{
|
||||||
|
CommonResp commonResp = 1;
|
||||||
|
repeated SuccessResult successResult = 2;
|
||||||
|
repeated FailedDetail failedResult = 3;
|
||||||
|
message SuccessDetail{
|
||||||
|
string platform = 1;
|
||||||
|
string status = 2;
|
||||||
|
}
|
||||||
|
message FailedDetail{
|
||||||
|
string userID = 1;
|
||||||
|
CommonResp commonResp = 2;
|
||||||
|
}
|
||||||
|
message SuccessResult{
|
||||||
|
string userID = 1;
|
||||||
|
string status = 2;
|
||||||
|
repeated SuccessDetail detailPlatformStatus = 3;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
service user {
|
service user {
|
||||||
rpc getUserInfo(GetUserInfoReq) returns(GetUserInfoResp);
|
rpc getUserInfo(GetUserInfoReq) returns(GetUserInfoResp);
|
||||||
rpc UpdateUserInfo(UpdateUserInfoReq) returns(CommonResp);
|
rpc UpdateUserInfo(UpdateUserInfoReq) returns(CommonResp);
|
||||||
rpc DeleteUsers(DeleteUsersReq)returns(DeleteUsersResp);
|
rpc DeleteUsers(DeleteUsersReq)returns(DeleteUsersResp);
|
||||||
rpc GetAllUsersUid(GetAllUsersUidReq)returns(GetAllUsersUidResp);
|
rpc GetAllUsersUid(GetAllUsersUidReq)returns(GetAllUsersUidResp);
|
||||||
|
rpc GetUsersOnlineStatus(GetUsersOnlineStatusReq)returns(GetUsersOnlineStatusResp);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user