 | ClientSetWhisperList Method |
With a whisper list set a client can talk to the specified clients and channels bypassing the standard rule that voice is only transmitted to the current channel. Whisper lists can be defined for individual clients.
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic Task SetWhisperList(
Channel[] targetChannelArray,
Client[] targetClientArray
)
Public Function SetWhisperList (
targetChannelArray As Channel(),
targetClientArray As Client()
) As Task
public:
Task^ SetWhisperList(
array<Channel^>^ targetChannelArray,
array<Client^>^ targetClientArray
)
member SetWhisperList :
targetChannelArray : Channel[] *
targetClientArray : Client[] -> Task
Parameters
- targetChannelArray
- Type: TeamSpeak.Sdk.ClientChannel
array of channels to whisper to, set to null to disable - targetClientArray
- Type: TeamSpeak.Sdk.ClientClient
array of clients to whisper to, set to null to disable
Return Value
Type:
TaskA task that represents the asynchronous operation.
Remarks
To control which client is allowed to whisper to own client, the Library implements an internal whisper whitelist mechanism. When a client receives a whisper while the whispering client has not yet been added to the whisper allow list, the receiving client gets the
WhisperIgnored-Event. Note that whisper voice data is not received until the sending client is added to the receivers whisper allow list.
See Also