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

Public

Yes

Request

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

Request

Object containing the following properties:

PropertyType
userToken (*)string

(*) Required.

Response

Response

Object containing the following properties:

PropertyType
friendRequests (*)Array of objects:
  • id: string
  • senderUserId: string
  • targetUserId: string
  • createdAt: string
  • declinedAt: string (nullable)
  • acceptedAt: string (nullable)

(*) Required.

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

Public

Yes

Request

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

Request

Object containing the following properties:

PropertyType
userToken (*)string

(*) Required.

Response

Response

Object containing the following properties:

PropertyType
friendRequests (*)Array of objects:
  • id: string
  • senderUserId: string
  • targetUserId: string
  • createdAt: string
  • declinedAt: string (nullable)
  • acceptedAt: string (nullable)

(*) Required.