@Override public void parse(BserValues values) throws IOException { this.nextOffset = values.optBytes(1); this.limit = values.getInt(2); this.optimizations = new ArrayList<ApiUpdateOptimization>(); for (int b : values.getRepeatedInt(3)) { optimizations.add(ApiUpdateOptimization.parse(b)); } }
@Override public void parse(BserValues values) throws IOException { this.groupPeer = values.getObj(1, new ApiGroupOutPeer()); this.rid = values.getLong(2); this.optimizations = new ArrayList<ApiUpdateOptimization>(); for (int b : values.getRepeatedInt(3)) { optimizations.add(ApiUpdateOptimization.parse(b)); } }
@Override public void parse(BserValues values) throws IOException { this.peer = values.getObj(1, new ApiPeer()); this.rid = values.getLong(2); List<ApiMessageReaction> _reactions = new ArrayList<ApiMessageReaction>(); for (int i = 0; i < values.getRepeatedCount(3); i++) { _reactions.add(new ApiMessageReaction()); } this.reactions = values.getRepeatedObj(3, _reactions); }
@Override public void parse(BserValues values) throws IOException { this.bannerId = values.getInt(1); this.viewDuration = values.getInt(2); }
@Override public void parse(BserValues values) throws IOException { this.groupId = values.getInt(1); this.ext = values.optObj(2, new ApiMapValue()); }
@Override public void parse(BserValues values) throws IOException { this.peer = values.getObj(1, new ApiOutPeer()); }
@Override public void parse(BserValues values) throws IOException { this.settings = values.getObj(1, new ApiAdminSettings()); }
@Override public void parse(BserValues values) throws IOException { this.timeout = values.getInt(1); }
@Override public void parse(BserValues values) throws IOException { this.peer = values.getObj(1, new ApiPeer()); this.startDate = values.getLong(2); }