Class DocChannel

Represents a doc channel on 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.

docs: Collection<number, DocPayload> = ...

The docs in this 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.

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

Generated using TypeDoc