Channel

extends Equality

The Channel class is the base class for all types of channel.


Attributes

id

The ID of the channel, a String.

client

The Client that cached the channel.

isPrivate

Indicates whether the channel is PM channel, is Boolean.

createdAt

A Date referring to when the channel was created.


Functions

delete()

Deletes the channel.