If it is a visit in any university, including for an event or a short course (without any degree), any visa will do, including exemption or tourist visa, and for that you need to be able to show
*****
baht. If you want to attend a course with at least one semester with a degree and a transcript, you must have a full fledged visa in most universities (retirement or marriage visas are fine!).