getKnownUsersWithHttpInfo method

Future<Response> getKnownUsersWithHttpInfo()

Get user IDs of known users

Get the list of user IDs of users with any direct relationship with a user. That means any user sharing any channel, including direct and group channels. ##### Permissions Must be authenticated. Minimum server version: 5.23

Note: This method returns the HTTP Response.

Implementation

Future<Response> getKnownUsersWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/users/known';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <MmQueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}