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

    Interface APIPinChannel<T>

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

    interface APIPinChannel<T extends ChannelType> {
        flags?: ChannelFlags;
        id: string;
        last_pin_timestamp?: null | string;
        type: T;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    flags?: ChannelFlags
    id: string

    The id of the channel

    last_pin_timestamp?: null | string

    When the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a message is not pinned

    type: T

    The type of the channel