Represents a channel in a server 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.

groupId: string

The ID of the group that the channel belongs to.

id: string

Identifier of this structrure

isPublic: boolean

Whether the channel is public.

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.

Accessors

Methods

  • Send a message in the channel.

    Example

    let replyObj = {
    content: 'This is text, supports **markdown**.',
    embeds: [{
    title: 'This is an embed title!',
    description: 'A description may go here'
    }]
    };
    channel.send(replyObj)

    Parameters

    Returns Promise<Message>

Generated using TypeDoc