DiscordGuildVoiceChannel

public struct DiscordGuildVoiceChannel : DiscordGuildChannel

Represents a voice channel.

  • id

    The snowflake id of the channel.

    Declaration

    Swift

    public let id: ChannelID
  • The snowflake id of the guild this channel is on.

    Declaration

    Swift

    public let guildId: GuildID
  • The bitrate of this channel, if this is a voice channel.

    Declaration

    Swift

    public var bitrate: Int
  • Reference to the client.

    Declaration

    Swift

    public weak var client: DiscordClient?
  • The name of this channel.

    Declaration

    Swift

    public var name: String
  • The parent category for this channel.

    Declaration

    Swift

    public var parentId: ChannelID?
  • The permissions specifics to this channel.

    Declaration

    Swift

    public var permissionOverwrites: [OverwriteID: DiscordPermissionOverwrite]
  • The position of this channel. Mostly for UI purpose.

    Declaration

    Swift

    public var position: Int
  • The user limit of this channel, if this is a voice channel.

    Declaration

    Swift

    public var userLimit: Int