SDKsWASM
Send a friend application
Send a friend application to a selected user.
await openimsdk.addFriend({ toUserID, reqMsg });Pass an empty string when there is no reqMsg. A successful Promise means only that the server received the application; it does not mean that the recipient accepted it.
Was this page helpful?