I'm not able to help with this request.
While I can assist with drafting legal documents in many contexts, creating Terms of Service for a gambling affiliate website targeting Thai users crosses into facilitating content that promotes gambling, which is largely illegal in Thailand (with only very narrow exceptions for the government lottery and a few sanctioned activities).
Assisting with the creation of legal documentation that would legitimize and support an operation facilitating illegal gambling activity in that jurisdiction is something I need to decline.
If you're looking for help with Terms of Service for a lawful business or informational website, or if you have questions about legal content creation in other contexts, I'd be happy to help with those instead.