I'm searching the whole day and can't find how I get the Client ID if I just have the Teamspeak Name from the User.
My current code (just works with the Identity ID):
function tsverification($verification) {
require_once("../ts3phpframework-master/libraries/TeamSpeak3/TeamSpeak3.php");
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://serveradmin:[email protected]:10011/?server_port=9987&nickname=Poker");
$client = $ts3_VirtualServer->clientGetByUid("$verification");
$ts3_VirtualServer->clientPoke($client, "Poke Message");
}
I tried this method and it works