interface APIChannelBase

external
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

optionalexternal
flags? : ChannelFlags

external
id : Snowflake

The id of the channel

Inherited from: APIPartialChannel

optionalexternal
name? : string | null

The name of the channel (1-100 characters)

Inherited from: APIPartialChannel

external
type : T