tencent cloud

Feedback

React Native

Last updated: 2024-02-07 11:04:22

    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"],
    });
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support