浏览 SDKs · iOS
SDKsiOS

获取收到的入群申请

分页查询 iOS 收到的入群申请。

复制
GetGroupApplicationListAsRecipientReq *req =
  [[GetGroupApplicationListAsRecipientReq alloc] initWithGroupIDs:@[groupID]
    handleResults:@[@(OIMApplicationStatusNormal)] offset:0 count:20];
[[OIMManager manager] getGroupApplicationListAsRecipientWithReq:req
  onSuccess:^(NSArray<OIMGroupApplicationInfo *> *items) { [self replaceItems:items]; }
  onFailure:^(NSInteger code, NSString *message) { [self showErrorCode:code message:message]; }];

成功 callback 返回当前用户有权处理的申请快照。分页偏移按请求数量递增。