-
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]() -
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? -
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
View on GitHub
GuildCategory Class Reference