SDKsiOS
Reject a friend request
Reject a friend request with OpenIM iOS SDK.
[[OIMManager manager] refuseFriendApplication:applicantUserID
handleMsg:@"Not adding contacts at this time"
onSuccess:nil
onFailure:nil];The first argument is the applicant's user ID, and handleMsg is the response message. A successful callback means that the reject request has completed. The request update may arrive afterward. For the complete synchronization rules, see Retrieve received friend requests.
Was this page helpful?