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

    Class Channel

    Represents a channel.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    bannerGfxUrl: string | null = null
    bannerMode: number | null = null
    codec: Codec | null = null
    codecQuality: number | null = null
    codecUnencrypted: boolean | null = null
    default: boolean | null = null
    deleteDelay: number | null = null
    description: string | null = null
    filepath: string | null = null
    forcedSilence: boolean | null = null
    iconId: number | null = null
    id: number
    latencyFactor: number | null = null
    maxClients: number | null = null
    maxClientsUnlimited: boolean | null = null
    maxFamilyClients: number | null = null
    maxFamilyClientsInherited: boolean | null = null
    maxFamilyClientsUnlimited: boolean | null = null
    name: string | null = null
    namePhonetic: string | null = null
    neededTalkPower: number | null = null
    order: number | null = null
    parentId: number | null = null
    password: string | null = null
    secondsEmpty: number | null = null
    securitySalt: string | null = null
    topic: string | null = null
    type: ChannelType | null = null
    uniqueId: string | null = null

    Accessors

    • get partial(): boolean

      Checks if the channel is partially filled.

      Returns boolean

      Whether the channel is partially filled.

    Methods

    • Deletes the channel.

      Parameters

      • Optionalforce: boolean = false

        Whether to force the deletion. Forcing deletion will kick all clients from the channel.

      Returns Promise<void>

    • Fetches the channel from the server or the cache.

      Parameters

      • Optionalforce: boolean = false

        Whether to force a fetch from the server.

      Returns Promise<Channel>

      The fetched channel.