Skip to content
SinisterRectus edited this page Nov 4, 2016 · 22 revisions

[description]

Properties Inherited From Channel

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

Properties Inherited From Container

Name Type Mutable Description
client Client Client object to which the Discord object is known
parent * Parent Discord object (ex: the Guild of a Member)

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

Properties Inherited From TextChannel

Name Type Mutable Description
messageCount number How many messages are cached for the channel
messages function Iterator for the cached messages in the channel
pinnedMessages function Iterator for all of the pinned messages in the channel

Class Properties

Name Type Mutable Description
name string The username of the channel recipient
recipient User The recipient of the private channel (the other half of your conversation)
Clone this wiki locally