Skip to content
SinisterRectus edited this page Mar 4, 2017 · 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
timestamp string ISO 8601 date and time at which the object was created by Discord

Class Properties

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

Class Methods

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

Clone this wiki locally