listUserRelationships abstract method

  1. @POST.new('/admin/users/list-relationships')
Future<ListUserRelationshipsResponse> listUserRelationships({
  1. @Body.new() required ListUserRelationshipsRequest body,
})

List user relationships.

List a user's friends, incoming and outgoing friend requests, and blocked users. Requires USER_LIST_RELATIONSHIPS permission.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/users/list-relationships')
Future<ListUserRelationshipsResponse> listUserRelationships({
  @Body() required ListUserRelationshipsRequest body,
});