pinNativeDMConversationWithHttpInfo method
Pin a DM conversation in the sidebar.
Note: This method returns the HTTP Response.
Parameters:
- String dmId (required):
Implementation
Future<Response> pinNativeDMConversationWithHttpInfo(String dmId,) async {
// ignore: prefer_const_declarations
final path = r'/v1/native/dm/{dmId}/pin'
.replaceAll('{dmId}', dmId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}