teamspeak.js - v1.11.2
    Preparing search index...

    Class PrivilegeKey

    Represents a privilege key.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    createdTimestamp: number | null = null

    The timestamp the privilege key was created.

    customSet: string | null = null

    The custom set of the privilege key.

    description: string | null = null

    The description of the privilege key.

    id: number
    token: string | null = null

    The token of the privilege key.

    tokenId1: number | null = null

    The ID of the server group or channel group.

    tokenId2: number | null = null

    The ID of the channel. (If the privilege key is for a channel group)

    tokenType: number | null = null

    The type of the privilege key. 0 = Server Group, 1 = Channel Group.

    Accessors

    • get createdAt(): Date | null

      The timestamp the privilege key was created.

      Returns Date | null

      The timestamp the privilege key was created, or null if unknown.

    Methods

    • Deletes the privilege key.

      Returns Promise<void>

      A promise that resolves when the privilege key is deleted.