Browse SDKs · iOS
SDKsiOS

Accept a group application

Accept an iOS group application.

Copy
[[OIMManager manager] acceptGroupApplication:application.groupID
  fromUserId:application.userID handleMsg:@"Approved"
  onSuccess:^(NSString * _Nullable data) { [self showHandled]; }
  onFailure:^(NSInteger code, NSString *message) { [self showErrorCode:code message:message]; }];

A successful callback means that the handling request has completed. Do not fabricate a member record directly. Process application and member events independently.