The list is paginated, so to get to the next page, you can pass the last TPUser from the previous list to get to the next page.
[[TalkPlus sharedInstance] getBlockedUsers:lastUser
success:^(NSArray<TPUser *> *tpUsers, BOOL hasNext) {
// SUCCESS
for (TPUser * tpUser in tpUsers) {
// find out when user was blocked
long blockedAt = [[tpUser get:@"blockedAt"] longValue];
}
} failure:^(int errorCode, NSError *error) {
// FAILURE
}];
TalkPlus.sharedInstance()?.getBlockedUsers(lastUser,
success: { tpUsers, hasNext in
// SUCCESS
guard let users = tpUsers else { return }
for user in users {
// find out when user was blocked
let blockedAt = user.get("blockedAt")as? UInt
}
}, failure: { (errorCode, error) in
// FAILURE
})