Files
open-im-server/pkg/proto/conversation/conversation.proto
T

39 lines
877 B
Protocol Buffer
Raw Normal View History

2022-04-22 15:12:10 +08:00
syntax = "proto3";
option go_package = "./conversation;conversation";
package conversation;
message CommonResp{
int32 errCode = 1;
string errMsg = 2;
}
message Conversation{
2022-04-22 19:44:58 +08:00
string ownerUserID = 1;
string conversationID = 2;
int32 recvMsgOpt = 3;
int32 conversationType = 4;
string userID = 5;
string groupID = 6;
int32 unreadCount = 7;
int64 draftTextTime = 8;
bool isPinned = 9;
string attachedInfo = 10;
bool isPrivateChat = 11;
int32 groupAtType = 12;
bool isNotInGroup = 13;
string ex = 14;
}
message ModifyConversationFieldReq{
Conversation conversation = 1;
int32 fieldType = 2;
repeated string userIDList = 3;
string operationID = 4;
}
message ModifyConversationFieldResp{
2022-04-22 15:12:10 +08:00
CommonResp commonResp = 1;
}
2022-04-24 11:23:54 +08:00
service conversation {
2022-04-22 19:44:58 +08:00
rpc ModifyConversationField(ModifyConversationFieldReq)returns(ModifyConversationFieldResp);
2022-04-22 15:12:10 +08:00
}