As for the most recent 3.3.0 version (1533053401), you can no longer idle by sending \n or space+\n every few minutes. TeamSpeak expects a command or it will kick you after 5 minutes. Is that intentional, if so, what is the suggested type of idle now? whoami? It's rather annoying for query tool developers.
(Tested with Windows 7.)