Represents a forum channel.

Hierarchy

Constructors

Properties

archivedAt: null | Date

When the channel was last archived.

archivedBy: null | string

ID of the member that archived the channel (if archived)

categoryID: null | number

ID of the category the channel is in.

client: Client

Bot's client.

createdAt: Date

When this channel was created.

creatorID: string

ID of the member who created this channel.

description: null | string

Channel description

editedTimestamp: null | Date

Timestamp at which this channel was last edited.

groupID: string

ID of the group the channel is in.

guildID: string

Server ID

id: string

Item ID

isPublic: boolean
name: string

Channel name

parentID: null | string

ID of the parent category.

Cached threads.

type: string

Channel type

visibility: string

Channel visibility

Methods

  • Delete a thread from this channel.

    Parameters

    • threadID: number

      ID of a thread.

    Returns Promise<void>

  • Unlock a thread.

    Parameters

    • threadID: number

      ID of a thread.

    Returns Promise<void>