searchGroupChannelsWithHttpInfo method
Future<Response>
searchGroupChannelsWithHttpInfo(
- MmSearchGroupChannelsRequest mmSearchGroupChannelsRequest
Search Group Channels
Get a list of group channels for a user which members' usernames match the search term. Minimum server version: 5.14
Note: This method returns the HTTP Response
.
Parameters:
- MmSearchGroupChannelsRequest mmSearchGroupChannelsRequest (required): Search criteria
Implementation
Future<Response> searchGroupChannelsWithHttpInfo(
MmSearchGroupChannelsRequest mmSearchGroupChannelsRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/channels/group/search';
// ignore: prefer_final_locals
Object? postBody = mmSearchGroupChannelsRequest;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}