@And***
, Better to ask your airline.
When you are flying into Thailand on visa exempt scheme, it’s more airline who would ask for the proof of onward travel.
Some accept a ticket by bus or ferry with destination in another country, some ask for flight ticket to any other country, but a few ask for “return ticket” if you don't have any visa. Or some airline ask you to sign some kind of agreement.