如果我只有用户的 Teamspeak 名称,我整天都在搜索,但找不到如何获取客户端 ID。
我当前的代码(仅适用于身份 ID):
function tsverification($verification) {
require_once("../ts3phpframework-master/libraries/TeamSpeak3/TeamSpeak3.php");
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://serveradmin:XXXXXX@XXX.XXX.XXX.XX:10011/?server_port=9987&nickname=Poker");
$client = $ts3_VirtualServer->clientGetByUid("$verification");
$ts3_VirtualServer->clientPoke($client, "Poke Message");
}