seyfert
    Preparing search index...

    Class DirectoryChannel

    Hierarchy (View Summary)

    • BaseChannel<ChannelType.GuildDirectory>
      • DirectoryChannel
    Index

    Constructors

    Properties

    client: UsingClient
    id: string
    type: GuildDirectory

    Accessors

    Methods

    • Type Parameters

      • T extends (keyof IChannelTypes)[]

      Parameters

      • channelTypes: T

      Returns this is IChannelTypes[T[number]]

    • Parameters

      Returns {
          create: <T extends GuildChannelTypes = GuildChannelTypes>(
              body: RESTPostAPIGuildChannelJSONBody & { type: T },
          ) => Promise<SeyfertChannelMap[T]>;
          delete: (id: string, reason?: string) => Promise<AllChannels>;
          edit: (
              id: string,
              body: RESTPatchAPIChannelJSONBody,
              reason?: string,
          ) => Promise<AllChannels>;
          editPositions: (
              body: RESTPatchAPIGuildChannelPositionsJSONBody,
          ) => Promise<undefined>;
          fetch: (id: string, force?: boolean) => Promise<AllChannels>;
          list: (force?: boolean) => Promise<AllChannels[]>;
      }