Friends

List Friends

List all friends of a user.

Request

  • userToken
    string

Response

  • friends
    array of objects
    • friends.userIdA
      string
    • friends.userIdB
      string
    • friends.createdAt
      string

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.friends.list_friends({
  // Request body
});