Skip to content

getAvatarList

api.getAvatarList()

Parameters

Return

Promise<GetAvatarListResponse>

Types

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

Examples

ts
api.getAvatarList()
    .then(console.log)
    .catch(console.error);