1 package com.netease.nimlib.sdk.robot.model;
3 import java.io.Serializable;
4 import java.util.ArrayList;
12 private List<NimRobotInfo> updatedRobots =
new ArrayList<>();
14 private List<String> deletedRobots =
new ArrayList<>();
17 if (updatedRobots != null && !updatedRobots.isEmpty()) {
18 this.updatedRobots.addAll(updatedRobots);
21 if (deletedRobots != null && !deletedRobots.isEmpty()) {
22 this.deletedRobots.addAll(deletedRobots);
List< NimRobotInfo > getAddedOrUpdatedRobots()
返回增加或者发生变更的机器人
List< String > getDeletedRobots()
返回被删除的的机器人账号
RobotChangedNotify(List< NimRobotInfo > updatedRobots, List< String > deletedRobots)