I am referring to the most voted answer by root676 in Calling interpolation plugin from Python console of QGIS.
root676 ends his/her answer with:
Keep in mind that the QGIS-API is currently rewritten to version 3.0 and the used interpolation-classes are moved from qgis.analysis to qgis.core! This will have a huge impact on the functionality of this script so that it must be rewritten for version 3.0!
Now I want to use this code to make a TIN interpolation in QGIS 3. However, I could not find any post with code that is adapted to the QGIS 3 version.
Can anyone help me out?