Interface APIGuildChannel

Hierarchy

  • APIGuildChannel

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