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

Public

Yes

Request

const data = await ctx.modules.friends.listIncomingFriendRequests({
  // 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.