The summer period, or hot and dry season, is from March to June. At this time temperatures in Bangkok average around 34 degrees, but can often reach 40 degrees with humidity levels of 75%.
Try and avoid April, unless you plan to be permanently submerged in the ocean, because this is the hottest month across the country.