Creates a new privilege key for a server group.
The options for creating the privilege key.
The created privilege key.
Creates a new privilege key for a channel group.
The options for creating the privilege key.
The created privilege key.
Deletes a privilege key.
The privilege key to delete.
The deleted privilege key.
Deletes a privilege key by its token.
The token of the privilege key to delete.
A promise that resolves when the privilege key is deleted.
Fetches all privilege keys from the TeamSpeak server.
A promise that resolves with a collection of privilege keys.
Uses a privilege key.
The privilege key to use.
A promise that resolves when the privilege key is used.
Uses a privilege key by its token.
The token of the privilege key to use.
A promise that resolves when the privilege key is used.
Manages the privilege keys in the TeamSpeak server.
Notice: This is experimental and may be inaccurate as the API does not return the ID of the privilege key.