use of im.actor.core.api.ApiGroupFull in project actor-platform by actorapp.
the class Group method editMembers.
//
// Members
//
public Group editMembers(List<ApiMember> members) {
ApiGroupFull fullExt = null;
if (getWrappedExt() != null) {
ApiGroupFull e = getWrappedExt();
fullExt = new ApiGroupFull(e.getId(), e.getCreateDate(), e.getOwnerUid(), members, e.getTheme(), e.getAbout(), e.getExt(), e.isAsyncMembers(), e.isSharedHistory(), e.getShortName(), e.getPermissions());
fullExt.setUnmappedObjects(e.getUnmappedObjects());
}
ApiGroup w = getWrapped();
ApiGroup res = new ApiGroup(w.getId(), w.getAccessHash(), w.getTitle(), w.getAvatar(), members.size(), w.isMember(), w.isHidden(), w.getGroupType(), w.getPermissions(), w.isDeleted(), w.getExt());
return new Group(res, fullExt);
}
Aggregations