Skip to content

Commit 19c0002

Browse files
authored
feat: add rpc function of set user's conversation. (#183)
* feat: fetch messages add minSeq when message isEnd is true. * feat: fetch messages add minSeq when message isEnd is true. * feat: add new contentType markdownText for AI. * feat: add a field to specify whether to send a notification message when creating a group. * feat: add a field to specify whether to send a notification message when kick user or invite user. * feat: add a field to specify whether to send a notification message when kick user or invite user. * refactor: change sendNotification to sendMessage to avoid ambiguity regarding message sending behavior. * feat: add rpc function of set user's conversation.
1 parent 42055c8 commit 19c0002

File tree

7 files changed

+467
-311
lines changed

7 files changed

+467
-311
lines changed

conversation/conversation.pb.go

+380-270
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conversation/conversation.proto

+8
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,13 @@ message ClearUserConversationMsgResp {
304304
int32 count = 1;
305305
}
306306

307+
message UpdateConversationsByUserReq{
308+
string userID = 1;
309+
openim.protobuf.StringValue ex = 2;
310+
}
311+
312+
message UpdateConversationsByUserResp{}
313+
307314
service conversation {
308315
rpc GetConversation(GetConversationReq) returns (GetConversationResp);
309316
rpc GetSortedConversationList(GetSortedConversationListReq) returns (GetSortedConversationListResp);
@@ -329,4 +336,5 @@ service conversation {
329336
rpc GetNotNotifyConversationIDs(GetNotNotifyConversationIDsReq) returns (GetNotNotifyConversationIDsResp);
330337
rpc GetPinnedConversationIDs(GetPinnedConversationIDsReq) returns (GetPinnedConversationIDsResp);
331338
rpc ClearUserConversationMsg(ClearUserConversationMsgReq) returns (ClearUserConversationMsgResp);
339+
rpc UpdateConversationsByUser(UpdateConversationsByUserReq) returns (UpdateConversationsByUserResp);
332340
}

conversation/conversation_grpc.pb.go

+38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

group/group.pb.go

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdkws/sdkws.pb.go

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

third/third.pb.go

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)