Interface JSONTextChannel

interface JSONTextChannel {
    archivedAt: null | Date;
    archivedBy: null | string;
    categoryID: null | number;
    createdAt: Date;
    creatorID: string;
    description: null | string;
    editedTimestamp: null | Date;
    groupID: string;
    guildID: string;
    id: string;
    interactions: AnyJSONInteraction[];
    isPublic: boolean;
    messages: JSONMessage[];
    name: string;
    parentID: null | string;
    type: string;
    visibility: string;
}

Hierarchy (view full)

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.

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
interactions: AnyJSONInteraction[]

Cached interactions.

isPublic: boolean

Is the channel public

messages: JSONMessage[]

Cached messages.

name: string

Channel name

parentID: null | string

ID of the parent category.

type: string

Channel type

visibility: string

Channel visibility