实现群组/用户等信息变更通知
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package cn.wildfirechat.pojos;
|
||||
|
||||
public class ChannelUpdateEvent {
|
||||
public String operatorId;
|
||||
public String channelId;
|
||||
public int type;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cn.wildfirechat.pojos;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ChatroomMemberUpdateEvent {
|
||||
public String operatorId;
|
||||
public String chatroomId;
|
||||
public List<String> memberIds;
|
||||
public int type;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package cn.wildfirechat.pojos;
|
||||
|
||||
public class ChatroomUpdateEvent {
|
||||
public String chatroomId;
|
||||
public int type;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package cn.wildfirechat.pojos;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GroupMemberUpdateEvent {
|
||||
public String operatorId;
|
||||
public String groupId;
|
||||
public List<String> memberIds;
|
||||
public int type;
|
||||
public String value;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package cn.wildfirechat.pojos;
|
||||
|
||||
public class GroupUpdateEvent {
|
||||
public String operatorId;
|
||||
public String groupId;
|
||||
public int type;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package cn.wildfirechat.pojos;
|
||||
|
||||
public class RelationUpdateEvent {
|
||||
public String userId;
|
||||
public String targetId;
|
||||
public int type;
|
||||
public String value;
|
||||
}
|
||||
@@ -12,6 +12,9 @@ public class UserOnlineStatus {
|
||||
public long timestamp;
|
||||
public String packageName;
|
||||
|
||||
public UserOnlineStatus() {
|
||||
}
|
||||
|
||||
public UserOnlineStatus(String userId, String clientId, int platform, int status, String packageName) {
|
||||
this.userId = userId;
|
||||
this.clientId = clientId;
|
||||
|
||||
Reference in New Issue
Block a user