Gets the channel the client is in.
The channel the client is in, or null if unknown.
Checks if the client is partially filled.
Whether the client is partially filled.
Patches the client with new data.
The new data to patch the client with.
Adds a server group to the client.
The server group to add.
A promise that resolves when the server group has been added.
Bans the client from the server. Since TeamSpeak creates multiple ban entries for one client, this returns a collection of bans.
The options for the ban.
The bans applied to the client. TeamSpeak creates multiple ban entries for one client.
Edits the client with new data.
The new data to patch the client with.
The updated client.
Fetches the client from the server or the cache.
Optional
force: boolean = falseWhether to force the fetch.
The fetched client.
Fetches the server groups the client belongs to.
The server groups the client belongs to.
Kicks the client from the current channel.
Optional
reason: stringThe reason for the kick.
A promise that resolves when the client has been kicked.
Kicks the client from the server.
Optional
reason: stringThe reason for the kick.
A promise that resolves when the client has been kicked.
Moves the client to a different channel.
The channel to move the client to.
Optional
channelPassword: stringThe password for the channel, if required.
A promise that resolves to the moved client.
Pokes the client.
The content of the poke message.
A promise that resolves when the poke has been sent.
Removes a server group from the client.
The server group to remove.
A promise that resolves when the server group has been removed.
Sends a message to the client.
The content of the message.
A promise that resolves when the message has been sent.
Sets a channel group for the client in a channel.
The channel to set the channel group for.
The channel group to set for the client.
A promise that resolves when the channel group has been set.
Sets the nickname of the client.
The new nickname.
The updated client.
Converts the client to a string representation.
The string representation of the client.
Represents the client of the Query instance.