Skip to content

getAllFriends ​

api.getAllFriends() ​

Parameters ​

  • count number?
    • mặc định 20000
  • page number?
    • mặc định 1

Return ​

Promise<GetAllFriendsResponse>

Types ​

ts
export type GetAllFriendsResponse = User[];

Examples ​

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