Skip to content

Commit 17e644d

Browse files
authored
refactor: change sendNotification to sendMessage to avoid ambiguity regarding message sending behavior. (#182)
* 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.
1 parent 012bff2 commit 17e644d

File tree

9 files changed

+1605
-1609
lines changed

9 files changed

+1605
-1609
lines changed

group/group.pb.go

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

group/group.proto

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ message CreateGroupReq {
2525
openim.sdkws.GroupInfo groupInfo = 2;
2626
repeated string adminUserIDs = 3;
2727
string ownerUserID = 4; //owner
28-
optional bool sendNotification = 5;
28+
optional bool sendMessage = 5;
2929
}
3030
message CreateGroupResp {
3131
openim.sdkws.GroupInfo groupInfo = 1;
@@ -140,7 +140,7 @@ message KickGroupMemberReq {
140140
string groupID = 1;
141141
repeated string kickedUserIDs = 2;
142142
string reason = 3;
143-
optional bool sendNotification = 4;
143+
optional bool sendMessage = 4;
144144
}
145145

146146
message KickGroupMemberResp {}
@@ -158,7 +158,7 @@ message InviteUserToGroupReq {
158158
string groupID = 1;
159159
string reason = 2;
160160
repeated string invitedUserIDs = 3;
161-
optional bool sendNotification = 4;
161+
optional bool sendMessage = 4;
162162
}
163163
message InviteUserToGroupResp {}
164164

@@ -205,7 +205,7 @@ message GetGroupMembersCMSResp {
205205
message DismissGroupReq {
206206
string groupID = 1;
207207
bool deleteMember = 2;
208-
optional bool sendNotification = 3;
208+
optional bool sendMessage = 3;
209209
}
210210

211211
message DismissGroupResp {}

push/push.pb.go

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

relation/relation.pb.go

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

rtc/rtc.pb.go

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

sdkws/sdkws.pb.go

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

third/third.pb.go

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

user/user.pb.go

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

wrapperspb/wrapperspb.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)