Preview environment

interface APIChannelBase

export interface APIChannelBase<T extends ChannelType> extends APIPartialChannel

This interface is used to allow easy extension for other channel types. While also allowing APIPartialChannel to be used without breaking.

Type Parameters

T extends ChannelType

optional
flags? : ChannelFlags

The id of the channel

Inherited from: APIPartialChannel

optional
name? : string | null

The name of the channel (1-100 characters)

Inherited from: APIPartialChannel

type : T