Interface APIGuildChannel

interface APIGuildChannel {
    archivedAt?: string;
    archivedBy?: string;
    categoryId?: number;
    createdAt: string;
    createdBy: string;
    groupId: string;
    id: string;
    isPublic?: boolean;
    name: string;
    parentId?: string;
    serverId: string;
    topic?: string;
    type: APIChannelCategories;
    updatedAt?: string;
    visibility?: string;
}

Properties

archivedAt?: string

The ISO 8601 timestamp that the channel was archived at, if relevant

archivedBy?: string

The ID of the user who archived this channel

categoryId?: number

Only relevant for server channels

createdAt: string

The ISO 8601 timestamp that the channel was created at

createdBy: string

The ID of the user who created this channel

groupId: string

The ID of the group

id: string

The ID of the channel

isPublic?: boolean

Whether the channel can be accessed from users who are not member of the server (default false)

name: string

The name of the channel (min length 1; max length 100)

parentId?: string

ID of the parent channel or parent thread, if present. Only relevant for server channels

serverId: string

The ID of the server

topic?: string

The topic of the channel (min length 1; max length 512)

The type of channel. This will determine what routes to use for creating content in a channel. For example, if this "chat", then one must use the routes for creating channel messages

updatedAt?: string

The ISO 8601 timestamp that the channel was updated at, if relevant

visibility?: string

The visibility of the channel. Only relevant for server channels