Class ListChannel

Represents a list 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

items: Collection<string, ListItemPayload | ListItemSummaryPayload> = ...

The list items in this channel.

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

  • Completes a list item.

    Parameters

    • itemId: string

      The ID of the list item to complete.

    Returns Promise<void>

    A Promise that resolves when the list item is completed.

  • Uncompletes a list item.

    Parameters

    • itemId: string

      The ID of the list item to uncomplete.

    Returns Promise<void>

    A Promise that resolves when the list item is uncompleted.

Generated using TypeDoc