@Leo *****
when you checked in with your hotel, they asked to see your passport. They copy your passport info and submit it to Thai Immigration online. You can ask for a screenshot of the TM30 they submit.
BUT if they did not ask for your passport, then Ask them why? Usually means they are not legally registered as a hotel to avoid paying taxes