SDKsWASM
Accept a friend application
Accept a friend application from a selected user.
await openimsdk.acceptFriendApplication({ toUserID: applicantUserID, handleMsg: '' });A successful Promise means that the processing request has completed. Application events synchronize the application state, while OnFriendAdded synchronizes the new friendship.
Was this page helpful?