Flying domestic is very flexible for Thais. In some cases and some airlines, even photocopied or a photo of national ID card in a phone is allowed eg. Air Asia.
But for the peace of mind, this practice would never fail.
Thai - national ID card or passport.
Foreigner - a passport.