A joint session of Thailand's Senate and House of Representatives was convened on Tuesday for the election of a new prime minister.