master_huanxiang
gaojie 2019-06-05 15:39:39 +08:00
parent 1405ed0a78
commit dd9651f8f7
1 changed files with 16 additions and 15 deletions

View File

@ -2,23 +2,9 @@ package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
message GetChatMessageInfoRequest {
optional int32 chatType = 1; // 0: 1: 2: 3
}
message GetChatMessageInfoResponse {
repeated ChatInfo chatInfo = 1;
}
message SendChatInfoReqest {
optional int32 chatType = 1; // 0: 1: 2: 3
optional string message = 2; //
optional int32 friendId = 3; // id
}
message ChatInfo{
optional int32 senderId = 1;//id
optional int32 senderId = 1;//id
optional string senderName = 2; //
optional int32 senderlevel = 3;//
optional int32 sendervip = 5;//vip
@ -32,4 +18,19 @@ message ChatInfo{
optional int32 endTime = 17; //
optional int32 PriorityLevel =18 ;//
optional int32 Frequency = 19; //(s)
}
message GetChatMessageInfoRequest {
optional int32 chatType = 1; // 0: 1: 2: 3
}
message GetChatMessageInfoResponse {
repeated ChatInfo chatInfo = 1;
}
message SendChatInfoReqest {
optional int32 chatType = 1; // 1: 2: 3
optional string message = 2; //
optional int32 friendId = 3; // id
}