|
|
|
@ -13,16 +13,16 @@ message GroupInfo{
|
|
|
|
|
string introduction = 4;
|
|
|
|
|
string faceURL = 5;
|
|
|
|
|
string ownerUserID = 6;
|
|
|
|
|
uint32 createTime = 7;
|
|
|
|
|
int64 createTime = 7;
|
|
|
|
|
uint32 memberCount = 8;
|
|
|
|
|
string ex = 9;
|
|
|
|
|
int32 status = 10;
|
|
|
|
|
string creatorUserID = 11;
|
|
|
|
|
int32 groupType = 12;
|
|
|
|
|
int32 needVerification = 13;
|
|
|
|
|
int32 lookMemberInfo =14;
|
|
|
|
|
int32 lookMemberInfo = 14;
|
|
|
|
|
int32 applyMemberFriend = 15;
|
|
|
|
|
uint32 notificationUpdateTime = 16;
|
|
|
|
|
int64 notificationUpdateTime = 16;
|
|
|
|
|
string notificationUserID = 17;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -33,9 +33,9 @@ message GroupInfoForSet{
|
|
|
|
|
string introduction = 4;
|
|
|
|
|
string faceURL = 5;
|
|
|
|
|
string ex = 6;
|
|
|
|
|
google.protobuf.Int32Value needVerification = 7;
|
|
|
|
|
google.protobuf.Int32Value lookMemberInfo = 8;
|
|
|
|
|
google.protobuf.Int32Value applyMemberFriend = 9;
|
|
|
|
|
google.protobuf.Int32Value needVerification = 7;
|
|
|
|
|
google.protobuf.Int32Value lookMemberInfo = 8;
|
|
|
|
|
google.protobuf.Int32Value applyMemberFriend = 9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -43,14 +43,14 @@ message GroupMemberFullInfo {
|
|
|
|
|
string groupID = 1 ;
|
|
|
|
|
string userID = 2 ;
|
|
|
|
|
int32 roleLevel = 3;
|
|
|
|
|
int32 joinTime = 4;
|
|
|
|
|
int64 joinTime = 4;
|
|
|
|
|
string nickname = 5;
|
|
|
|
|
string faceURL = 6;
|
|
|
|
|
int32 appMangerLevel = 7; //if >0
|
|
|
|
|
int32 joinSource = 8;
|
|
|
|
|
string operatorUserID = 9;
|
|
|
|
|
string ex = 10;
|
|
|
|
|
uint32 muteEndTime = 11;
|
|
|
|
|
int64 muteEndTime = 11;
|
|
|
|
|
string inviterUserID = 12;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -71,7 +71,7 @@ message UserInfo{
|
|
|
|
|
uint32 birth = 6;
|
|
|
|
|
string email = 7;
|
|
|
|
|
string ex = 8;
|
|
|
|
|
uint32 createTime = 9;
|
|
|
|
|
int64 createTime = 9;
|
|
|
|
|
int32 appMangerLevel = 10;
|
|
|
|
|
int32 globalRecvMsgOpt = 11;
|
|
|
|
|
int64 birthday = 13;
|
|
|
|
@ -80,7 +80,7 @@ message UserInfo{
|
|
|
|
|
message FriendInfo{
|
|
|
|
|
string ownerUserID = 1;
|
|
|
|
|
string remark = 2;
|
|
|
|
|
uint32 createTime = 3;
|
|
|
|
|
int64 createTime = 3;
|
|
|
|
|
UserInfo friendUser = 4;
|
|
|
|
|
int32 addSource = 5;
|
|
|
|
|
string operatorUserID = 6;
|
|
|
|
@ -89,7 +89,7 @@ message FriendInfo{
|
|
|
|
|
|
|
|
|
|
message BlackInfo{
|
|
|
|
|
string ownerUserID = 1;
|
|
|
|
|
uint32 createTime = 2;
|
|
|
|
|
int64 createTime = 2;
|
|
|
|
|
PublicUserInfo blackUserInfo = 3;
|
|
|
|
|
int32 addSource = 4;
|
|
|
|
|
string operatorUserID = 5;
|
|
|
|
@ -102,9 +102,9 @@ message GroupRequest{
|
|
|
|
|
int32 handleResult = 3;
|
|
|
|
|
string reqMsg = 4;
|
|
|
|
|
string handleMsg = 5;
|
|
|
|
|
uint32 reqTime = 6;
|
|
|
|
|
int64 reqTime = 6;
|
|
|
|
|
string handleUserID = 7;
|
|
|
|
|
uint32 handleTime = 8;
|
|
|
|
|
int64 handleTime = 8;
|
|
|
|
|
string ex = 9;
|
|
|
|
|
int32 joinSource = 10;
|
|
|
|
|
string inviterUserID = 11;
|
|
|
|
@ -121,13 +121,76 @@ message FriendRequest{
|
|
|
|
|
int32 toGender = 8;
|
|
|
|
|
int32 handleResult = 9;
|
|
|
|
|
string reqMsg = 10;
|
|
|
|
|
uint32 createTime = 11;
|
|
|
|
|
int64 createTime = 11;
|
|
|
|
|
string handlerUserID = 12;
|
|
|
|
|
string handleMsg = 13;
|
|
|
|
|
uint32 handleTime = 14;
|
|
|
|
|
int64 handleTime = 14;
|
|
|
|
|
string ex = 15;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////organization/////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
message Department {
|
|
|
|
|
string departmentID = 1;
|
|
|
|
|
string faceURL = 2;
|
|
|
|
|
string name = 3;
|
|
|
|
|
string parentID = 4;
|
|
|
|
|
int32 order = 5;
|
|
|
|
|
int32 departmentType = 6;
|
|
|
|
|
int64 createTime = 7;
|
|
|
|
|
uint32 subDepartmentNum = 8;
|
|
|
|
|
uint32 memberNum = 9;
|
|
|
|
|
string ex = 10;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message OrganizationUser {
|
|
|
|
|
string userID = 1;
|
|
|
|
|
string nickname = 2;
|
|
|
|
|
string englishName = 3;
|
|
|
|
|
string faceURL = 4;
|
|
|
|
|
int32 gender = 5;
|
|
|
|
|
string mobile = 6;
|
|
|
|
|
string telephone = 7;
|
|
|
|
|
uint32 birth = 8;
|
|
|
|
|
string email = 9;
|
|
|
|
|
int64 createTime = 10;
|
|
|
|
|
string ex = 11;
|
|
|
|
|
string birthStr = 12;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message DepartmentMember {
|
|
|
|
|
string userID = 1;
|
|
|
|
|
string departmentID = 2;
|
|
|
|
|
int32 order = 3;
|
|
|
|
|
string position = 4;
|
|
|
|
|
int32 leader = 5;
|
|
|
|
|
int32 status = 6;
|
|
|
|
|
string ex = 7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message UserDepartmentMember {
|
|
|
|
|
OrganizationUser organizationUser = 1;
|
|
|
|
|
DepartmentMember departmentMember = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message UserInDepartment {
|
|
|
|
|
OrganizationUser organizationUser = 1;
|
|
|
|
|
repeated DepartmentMember departmentMemberList = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////organization end//////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////base end/////////////////////////////////////
|
|
|
|
@ -139,12 +202,12 @@ message PullMessageBySeqListReq{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message seqList {
|
|
|
|
|
repeated uint32 seqList = 1;
|
|
|
|
|
repeated uint32 seqList = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message MsgDataList {
|
|
|
|
|
repeated MsgData msgDataList = 1;
|
|
|
|
|
repeated MsgData msgDataList = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message PullMessageBySeqListResp {
|
|
|
|
@ -157,9 +220,9 @@ message PullMessageBySeqListResp {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message GetMaxAndMinSeqReq {
|
|
|
|
|
repeated string groupIDList = 1;
|
|
|
|
|
string userID = 2;
|
|
|
|
|
string operationID =3;
|
|
|
|
|
repeated string groupIDList = 1;
|
|
|
|
|
string userID = 2;
|
|
|
|
|
string operationID = 3;
|
|
|
|
|
}
|
|
|
|
|
message MaxAndMinSeq{
|
|
|
|
|
uint32 maxSeq = 1;
|
|
|
|
@ -389,7 +452,7 @@ message FriendApplicationApprovedTips{
|
|
|
|
|
//FromUserID accept or reject ToUserID
|
|
|
|
|
message FriendApplicationRejectedTips{
|
|
|
|
|
FromToUserID fromToUserID = 1;
|
|
|
|
|
string handleMsg = 2;
|
|
|
|
|
string handleMsg = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -426,23 +489,23 @@ message UserInfoUpdatedTips{
|
|
|
|
|
|
|
|
|
|
//////////////////////conversation/////////////////////
|
|
|
|
|
message ConversationUpdateTips{
|
|
|
|
|
string UserID = 1;
|
|
|
|
|
repeated string conversationIDList = 2;
|
|
|
|
|
int64 updateUnreadCountTime = 3;
|
|
|
|
|
string UserID = 1;
|
|
|
|
|
repeated string conversationIDList = 2;
|
|
|
|
|
int64 updateUnreadCountTime = 3;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ConversationSetPrivateTips{
|
|
|
|
|
string recvID = 1;
|
|
|
|
|
string sendID = 2;
|
|
|
|
|
bool isPrivate = 3;
|
|
|
|
|
string recvID = 1;
|
|
|
|
|
string sendID = 2;
|
|
|
|
|
bool isPrivate = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
////////////////////message///////////////////////
|
|
|
|
|
message DeleteMessageTips{
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
string userID =2;
|
|
|
|
|
string userID = 2;
|
|
|
|
|
repeated uint32 seqList = 3;
|
|
|
|
|
}
|
|
|
|
|
///cms
|
|
|
|
@ -456,24 +519,24 @@ message RequestPagination {
|
|
|
|
|
///////////////////signal//////////////
|
|
|
|
|
message SignalReq {
|
|
|
|
|
oneof payload {
|
|
|
|
|
SignalInviteReq invite = 1;
|
|
|
|
|
SignalInviteInGroupReq inviteInGroup= 2;
|
|
|
|
|
SignalCancelReq cancel = 3;
|
|
|
|
|
SignalAcceptReq accept = 4;
|
|
|
|
|
SignalHungUpReq hungUp = 5;
|
|
|
|
|
SignalRejectReq reject = 6;
|
|
|
|
|
SignalGetRoomByGroupIDReq getRoomByGroupID = 7;
|
|
|
|
|
|
|
|
|
|
SignalOnRoomParticipantConnectedReq onRoomParticipantConnectedReq = 8;
|
|
|
|
|
SignalOnRoomParticipantDisconnectedReq onRoomParticipantDisconnectedReq = 9;
|
|
|
|
|
SignalGetTokenByRoomIDReq getTokenByRoomID = 10;
|
|
|
|
|
SignalInviteReq invite = 1;
|
|
|
|
|
SignalInviteInGroupReq inviteInGroup = 2;
|
|
|
|
|
SignalCancelReq cancel = 3;
|
|
|
|
|
SignalAcceptReq accept = 4;
|
|
|
|
|
SignalHungUpReq hungUp = 5;
|
|
|
|
|
SignalRejectReq reject = 6;
|
|
|
|
|
SignalGetRoomByGroupIDReq getRoomByGroupID = 7;
|
|
|
|
|
|
|
|
|
|
SignalOnRoomParticipantConnectedReq onRoomParticipantConnectedReq = 8;
|
|
|
|
|
SignalOnRoomParticipantDisconnectedReq onRoomParticipantDisconnectedReq = 9;
|
|
|
|
|
SignalGetTokenByRoomIDReq getTokenByRoomID = 10;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message SignalResp {
|
|
|
|
|
oneof payload {
|
|
|
|
|
SignalInviteReply invite = 1;
|
|
|
|
|
SignalInviteInGroupReply inviteInGroup= 2;
|
|
|
|
|
SignalInviteInGroupReply inviteInGroup = 2;
|
|
|
|
|
SignalCancelReply cancel = 3;
|
|
|
|
|
SignalAcceptReply accept = 4;
|
|
|
|
|
SignalHungUpReply hungUp = 5;
|
|
|
|
@ -485,30 +548,30 @@ message SignalResp {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message InvitationInfo {
|
|
|
|
|
string inviterUserID = 1;
|
|
|
|
|
repeated string inviteeUserIDList = 2;
|
|
|
|
|
string customData = 3;
|
|
|
|
|
string groupID = 4;
|
|
|
|
|
string roomID = 5;
|
|
|
|
|
int32 timeout = 6;
|
|
|
|
|
string mediaType = 7;
|
|
|
|
|
int32 platformID = 8;
|
|
|
|
|
int32 sessionType = 9;
|
|
|
|
|
int32 initiateTime = 10;
|
|
|
|
|
repeated string busyLineUserIDList = 11;
|
|
|
|
|
string inviterUserID = 1;
|
|
|
|
|
repeated string inviteeUserIDList = 2;
|
|
|
|
|
string customData = 3;
|
|
|
|
|
string groupID = 4;
|
|
|
|
|
string roomID = 5;
|
|
|
|
|
int32 timeout = 6;
|
|
|
|
|
string mediaType = 7;
|
|
|
|
|
int32 platformID = 8;
|
|
|
|
|
int32 sessionType = 9;
|
|
|
|
|
int32 initiateTime = 10;
|
|
|
|
|
repeated string busyLineUserIDList = 11;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ParticipantMetaData{
|
|
|
|
|
GroupInfo groupInfo = 1;
|
|
|
|
|
GroupMemberFullInfo groupMemberInfo = 2;
|
|
|
|
|
PublicUserInfo userInfo = 3;
|
|
|
|
|
GroupInfo groupInfo = 1;
|
|
|
|
|
GroupMemberFullInfo groupMemberInfo = 2;
|
|
|
|
|
PublicUserInfo userInfo = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message SignalInviteReq {
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
InvitationInfo invitation = 2;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
ParticipantMetaData participant = 4;
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
InvitationInfo invitation = 2;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
ParticipantMetaData participant = 4;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -522,7 +585,7 @@ message SignalInviteReply {
|
|
|
|
|
message SignalInviteInGroupReq {
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
InvitationInfo invitation = 2;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
ParticipantMetaData participant = 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -536,7 +599,7 @@ message SignalInviteInGroupReply {
|
|
|
|
|
message SignalCancelReq {
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
InvitationInfo invitation = 2;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
ParticipantMetaData participant = 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -547,7 +610,7 @@ message SignalCancelReply {
|
|
|
|
|
message SignalAcceptReq {
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
InvitationInfo invitation = 2;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
ParticipantMetaData participant = 4;
|
|
|
|
|
int32 opUserPlatformID = 5;
|
|
|
|
|
}
|
|
|
|
@ -561,7 +624,7 @@ message SignalAcceptReply {
|
|
|
|
|
message SignalHungUpReq {
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
InvitationInfo invitation = 2;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message SignalHungUpReply {
|
|
|
|
@ -572,7 +635,7 @@ message SignalHungUpReply {
|
|
|
|
|
message SignalRejectReq {
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
InvitationInfo invitation = 2;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
OfflinePushInfo offlinePushInfo = 3;
|
|
|
|
|
ParticipantMetaData participant = 4;
|
|
|
|
|
int32 opUserPlatformID = 5;
|
|
|
|
|
}
|
|
|
|
@ -619,10 +682,10 @@ message SignalGetTokenByRoomIDReply {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message DelMsgListReq{
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
string userID = 2;
|
|
|
|
|
repeated uint32 seqList = 3;
|
|
|
|
|
string operationID = 4;
|
|
|
|
|
string opUserID = 1;
|
|
|
|
|
string userID = 2;
|
|
|
|
|
repeated uint32 seqList = 3;
|
|
|
|
|
string operationID = 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message DelMsgListResp{
|
|
|
|
@ -664,4 +727,8 @@ message KeyValue {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message ResponsePagination {
|
|
|
|
|
int32 CurrentPage = 5;
|
|
|
|
|
int32 ShowNumber = 6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|