For Intl-Intl transit you should be fine, both from a TG perspective and from a Thai authorities perspective. That is of course provided you are on one reservation and will not have to enter through immigration into Thailand during transit. As with everything else in life though, there is always a risk.