-
Notifications
You must be signed in to change notification settings - Fork 25
Discord Guild Channel
Erik Little edited this page Oct 17, 2016
·
1 revision
A Guild Channel is represented by a DiscordGuildChannel.
public struct DiscordGuildChannel {
public let id: String
public let isPrivate = false
public let guildId: String
public let type: DiscordChannelType
public var bitrate: Int?
public var lastMessageId: String?
public var name: String
public var permissionOverwrites: [String: DiscordPermissionOverwrite]
public var position: Int
public var topic: String?
public var userLimit: Int?
}
A channel's type is represented as an enum.
public enum DiscordChannelType : String {
case text = "text"
case voice = "voice"
}