添加SDK对专业版群组禁言白名单的支持
This commit is contained in:
@@ -54,6 +54,7 @@ public interface APIPath {
|
||||
String Group_Member_Quit = "/admin/group/member/quit";
|
||||
String Group_Set_Manager = "/admin/group/manager/set";
|
||||
String Group_Mute_Member = "/admin/group/manager/mute";
|
||||
String Group_Allow_Member = "/admin/group/manager/allow";
|
||||
String Get_User_Groups = "/admin/group/of_user";
|
||||
|
||||
|
||||
|
||||
@@ -149,4 +149,7 @@ public class GroupNotificationBinaryContent {
|
||||
return getGroupNotifyContent(ProtoConstants.MESSAGE_CONTENT_TYPE_MUTE_MEMBER);
|
||||
}
|
||||
|
||||
public WFCMessage.MessageContent getAllowGroupMemberNotifyContent() {
|
||||
return getGroupNotifyContent(ProtoConstants.MESSAGE_CONTENT_TYPE_ALLOW_MEMBER);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ public class ProtoConstants {
|
||||
int GroupMemberType_Owner = 2;
|
||||
int GroupMemberType_Silent = 3;
|
||||
int GroupMemberType_Removed = 4;
|
||||
int GroupMemberType_Allowed = 5;
|
||||
}
|
||||
|
||||
//message FriendRequest -> status
|
||||
@@ -182,5 +183,6 @@ public class ProtoConstants {
|
||||
|
||||
public static final int MESSAGE_CONTENT_TYPE_SET_MANAGER = 117;
|
||||
public static final int MESSAGE_CONTENT_TYPE_MUTE_MEMBER = 118;
|
||||
public static final int MESSAGE_CONTENT_TYPE_ALLOW_MEMBER = 119;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user