Class: Channel

Channel

new Channel()

The Channel class represent a voice or text only channel in a Curse server. On Curse side, Conversations and Channels are exactly the same thing, but on the lib side, the text part of the channel is handled by the Conversation Class and the channel informations itself by the Channel class.

Properties:
Name Type Description
ID string

Curse UUID of the specified Channel. This ID is shared with the corresponding conversation.

client Client

Client object used to create this Channel instance.

name string

The name of the current Channel.

description string

The description of the current Channel.

server Server

The Server where the current channel is located.

isVoiceChannel boolean

False when the channel is a text only channel.

conversation Conversation

Corresponding Conversation object of the Channel.

displayOrder number

Position of the channel in the channel list

displayCategoryID string

Curse UUID of the display category

displayCategory string

Name of the display category

displayCategoryRank number

Position of the display Category in channel list

isDefaultChannel boolean

True if it's the default channel of the server

isPublic boolean

True if anyone can access it

urlPath string

Url path of the channel

Source: