Discord.https - v3.0.16
    Preparing search index...

    Interface APIChannelBase<T>

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

    interface APIChannelBase<T extends ChannelType> {
        flags?: ChannelFlags;
        id: string;
        type: T;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    flags?: ChannelFlags
    id: string

    The id of the channel

    type: T

    The type of the channel