Skip to content
SinisterRectus edited this page Nov 5, 2016 · 15 revisions

Abstract base class for more specific channel types.

Properties Inherited From Container

Name Type Mutable Description
client Client Client object to which the Discord object is known
parent * Parent Discord object

Properties Inherited From Snowflake

Name Type Mutable Description
createdAt number Unix time in seconds at which the object was created by Discord
id string Snowflake ID for the object

Class Properties

Name Type Mutable Description
isPrivate boolean Whether the channel is private
type string The channel type (text or voice)

Class Methods

Prototype Description
delete() Deletes the channel. This cannot be undone for guild channels!

Clone this wiki locally