Whisper lists

A client with a whisper list set can talk to the specified clients and channels. Whisper lists can be defined for individual clients. A whisper list consists of an array of client IDs and/or an array of channel IDs.

Important

Setting a whisper list will stop regular voice transmission to the current channel of the client.

Clients that have a whisper list set will only be heard by the clients specified in the whisper list.

unsigned int ts3server_setClientWhisperList(uint64 serverID, anyID clID, const uint64 *channelID, const anyID *clientID)

set a clients whisper list. Will stop transmitting that clients voice to their current channel.

The client will still receive voice from their current channel, however their voice will not be transmitted to their current channel anymore. The voice data of the specified client will be transmitted to all specified channels and all the specified clients. Pass 0 to both channelID and clientID to restore default behavior of transmitting voice to current channel.

Parameters:
  • serverID – the server on which to set the whisper list

  • clID – the client for which to set the whisper list

  • channelID – zero terminated array of channel ids to add to the whisper list. Pass nullptr to reset. Like { 3, 94, 84, …, 0 }

  • clientID – zero terminated array of client ids to add to the whisper list. Pass nullptr to reset. Like { 1, 4, …, 0 }

Returns:

An Error code from the Ts3ErrorType enum indicating either success or the failure reason