Skip to content

getRelatedFriendGroup ​

api.getRelatedFriendGroup(friendId) ​

Parameters ​

  • friendId string | string[]

Return ​

Promise<GetRelatedFriendGroupResponse>

Types ​

ts
export type GetRelatedFriendGroupResponse = {
    groupRelateds: {
        [friendId: string]: string[]; // groupIds
    };
};

Examples ​

ts
api.getRelatedFriendGroup("00000000000000000")
    .then(console.log)
    .catch(console.error);