getChannelMemberWithHttpInfo method
Get channel member
Get a channel member. ##### Permissions read_channel
permission for the channel.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> getChannelMemberWithHttpInfo(
String channelId,
String userId,
) async {
// ignore: prefer_const_declarations
final path = r'/channels/{channel_id}/members/{user_id}'
.replaceAll('{channel_id}', channelId)
.replaceAll('{user_id}', userId);
// 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,
);
}