getFileThumbnail method
Get a file's thumbnail
Gets a file's thumbnail. ##### Permissions Must have read_channel
permission or be uploader of the file.
Parameters:
- String fileId (required): The ID of the file to get
Implementation
Future<void> getFileThumbnail(
String fileId,
) async {
final response = await getFileThumbnailWithHttpInfo(
fileId,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
}
}