GuildCategory

public class GuildCategory: GuildChannel

Guild Channel Category Structure

  • Parent class

    Declaration

    Swift

    public weak var sword: Sword?
  • Channel Category this channel belongs to

    Declaration

    Swift

    public var category: GuildCategory?
  • Collection of channels this category parents mapped by channel id

    Declaration

    Swift

    public internal(set) var channels = [Snowflake: GuildChannel]()
  • id

    The id of the channel

    Declaration

    Swift

    public let id: Snowflake
  • Guild this channel belongs to

    Declaration

    Swift

    public var guild: Guild?
  • Name of the channel

    Declaration

    Swift

    public let name: String?
  • Parent Category ID of this channel

    Declaration

    Swift

    public let parentId: Snowflake?
  • Collection of overwrites mapped by OverwriteID

    Declaration

    Swift

    public internal(set) var permissionOverwrites = [Snowflake: Overwrite]()
  • Position the channel is in guild

    Declaration

    Swift

    public let position: Int?
  • Indicates what type of channel this is (.guildCategory)

    Declaration

    Swift

    public let type = ChannelType.guildCategory