8 – How to display the machine name of the product type?

In the Twig file of my product, I get the type of product to which it belongs thanks to this code :

{{ message.field_product_reference.entity.type.entity.label }}

This code displays the title of the product type (Product Type), I want to display the machine name of the product type (ID). How to do this ?

enter image description here