Class ForumChannel

Represents a forum channel in Guilded.

Hierarchy

Constructors

Properties

_archivedAt: null | number

The timestamp when the channel was archived.

_createdAt: number

The timestamp when the channel was created.

_updatedAt: null | number

The timestamp when the channel was last updated.

archivedBy: null | string

The user ID of the user who archived the channel.

categoryId: null | number

The ID of the category that the channel belongs to.

client: Client
createdBy: string

The user ID of the user who created the channel.

groupId: string

The ID of the group that the channel belongs to.

id: string

Identifier of this structrure

name: string

The name of the channel.

parentId: null | string

The ID of the parent channel.

raw: {
    id: string;
}

Bare data of this structure

Type declaration

  • id: string
serverId: string

The ID of the server that the channel belongs to.

topic: null | string

The topic of the channel.

topics: Collection<string, ForumTopicPayload> = ...

The topics in this channel.

The type of the channel.

visibility: null | string

The visibility state of the channel.

Accessors

  • get archivedAt(): null | Date
  • The timestamp when the channel was archived as a Date object, or null if the channel is not archived.

    Returns null | Date

  • get updatedAt(): null | Date
  • The timestamp when the channel was last updated as a Date object, or null if the channel has not been updated.

    Returns null | Date

Methods

  • Deletes a topic from this forum channel.

    Parameters

    • forumTopicId: number

      The ID of the topic to delete.

    Returns Promise<void>

    A Promise that resolves when the topic is deleted.

Generated using TypeDoc