GuildChannel

public protocol GuildChannel: class, Channel

Distinguishes Guild channels over dm type channels

  • Channel Category this channel belongs to

    Declaration

    Swift

    var category: GuildCategory?
  • Guild this channel belongs to

    Declaration

    Swift

    var guild: Guild?
  • Name of the channel

    Declaration

    Swift

    var name: String?
  • The channel id of the category that owns this channel

    Declaration

    Swift

    var parentId: Snowflake?
  • Collection of overwrites mapped by OverwriteID

    Declaration

    Swift

    var permissionOverwrites: [Snowflake: Overwrite]
  • Position the channel is in guild

    Declaration

    Swift

    var position: Int?