---
description: Lấy thông tin kết bạn
---

# getFriendRequestStatus

## api.getFriendRequestStatus(friendId)

### Parameters

* friendId `string`

### Return

`Promise<GetFriendRequestStatusResponse>`

### Types

```typescript
export type GetFriendRequestStatusResponse = {
    addFriendPrivacy: number;
    isSeenFriendReq: boolean;
    is_friend: number;
    is_requested: number;
    is_requesting: number;
};
```

### Examples

```typescript
api.getFriendRequestStatus("000000000000000")
    .then(console.log)
    .catch(console.error);
```
