SDKsiOS
获取未处理入群申请数
查询 iOS 指定时间之后的未处理入群申请数。
GetGroupApplicationUnhandledCountReq *req =
[[GetGroupApplicationUnhandledCountReq alloc] initWithTime:0];
[[OIMManager manager] getGroupApplicationUnhandledCount:req
onSuccess:^(NSInteger count) { [self updateBadge:count]; }
onFailure:^(NSInteger code, NSString *message) { [self showErrorCode:code message:message]; }];time 是查询起点。成功 callback 返回数量,不修改任何申请状态。
这个页面有帮助吗?