Function: followUser()
ts
function followUser(client, pk): Promise<{
[key: string]: unknown;
blocking?: boolean;
followed_by?: boolean;
following?: boolean;
incoming_request?: boolean;
is_bestie?: boolean;
is_muting_reel?: boolean;
is_private?: boolean;
is_restricted?: boolean;
muting?: boolean;
outgoing_request?: boolean;
}>;Follows a user by id. Returns the resulting friendship status.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
pk | string |
Returns
Promise<{ [key: string]: unknown; blocking?: boolean; followed_by?: boolean; following?: boolean; incoming_request?: boolean; is_bestie?: boolean; is_muting_reel?: boolean; is_private?: boolean; is_restricted?: boolean; muting?: boolean; outgoing_request?: boolean; }>