List clients
A list of all clients currently online on the specified virtual server can be queried with
-
unsigned int ts3server_getClientList(uint64 serverID, anyID **result)
get a list of all clients connected to a server
- Parameters:
serverID – specifies the server on which to get the list of clients
result – address of a variable to receive the zero terminated list of clients, like {1, 2, 50, …, 0} Memory is allocated by the server library and caller must free the array using ts3server_freeMemory
- Returns:
An Error code from the Ts3ErrorType enum indicating either success or the failure reason
To get a list of all clients currently in the specified channel
-
unsigned int ts3server_getChannelClientList(uint64 serverID, uint64 channelID, anyID **result)
get list of clients in a channel
- Parameters:
serverID – the server on which the channel is located
channelID – the channel of which to get the list of clients
result – address of a variable to receive a zero terminated array of client ids in the channel. Like {3, 5, 39, …, 0} Memory is allocated by the server library and caller must free the array using ts3server_freeMemory
- Returns:
An Error code from the Ts3ErrorType enum indicating either success or the failure reason