이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

친구 검색

Feature Description

Only locally stored users can be searched for, such as contacts or user profiles that have been pulled.

Searching for the Local User Profile

Call the searchFriends API (Details) to search for the local user profile. You can set the search keyword keywordList and specify the search scope to set whether to search by the userID, nickName, and remark fields of a user.
Sample code:
// Search for a friend by keyword
const serchFriend = await friendshipManager.searchFriends({
isSearchNickName: true,
isSearchRemark: true,
isSearchUserID: true,
keywordList: ["Keyword"],
});