---
description: Lấy danh sách ảnh đại diện
---

# getAvatarList

## api.getAvatarList()

### Parameters

### Return

`Promise<GetAvatarListResponse>`

### Types

```typescript
export type GetAvatarListResponse = {
    albumId: string;
    nextPhotoId: string;
    hasMore: number;
    photos: {
        photoId: string;
        thumbnail: string;
        url: string;
        bkUrl: string;
    }[];
};
```

### Examples

```typescript
api.getAvatarList()
    .then(console.log)
    .catch(console.error);
```
