Channel - truemedian/Discordia GitHub Wiki
Inherits Snowflake
Abstract base class that defines the base methods and/or properties for all Discord channel types.
The channel type. See the
channelType
enumeration for a human-readable representation.Type: number
A string that, when included in a message content, may resolve as a link to a channel in the official Discord client.
Type: string
Inherited from Container
A shortcut to the client object to which this container is visible.
Type: Client
The parent object of to which this container is a child. For example, the parent of a role is the guild in which the role exists.
Type: Container|Client
Inherited from Snowflake
The Snowflake ID that can be used to identify the object. This is guaranteed to be unique except in cases where an object shares the ID of its parent.
Type: string
The Unix time in seconds at which this object was created by Discord. Additional decimal points may be present, though only the first 3 (milliseconds) should be considered accurate.
Type: number
The date and time at which this object was created by Discord, represented as an ISO 8601 string plus microseconds when available.
Equivalent to Date.fromSnowflake(Snowflake.id):toISO()
.
Type: string