DiscordVoiceState

public struct DiscordVoiceState

Represents a voice state.

  • The snowflake id of the voice channel this state belongs to.

    Declaration

    Swift

    public let channelId: ChannelID
  • Whether this user is deafened.

    Declaration

    Swift

    public let deaf: Bool
  • The snowflake id of the guild this state belongs to.

    Declaration

    Swift

    public let guildId: GuildID
  • Whether this user is muted.

    Declaration

    Swift

    public let mute: Bool
  • Whether this user has deafened themself.

    Declaration

    Swift

    public let selfDeaf: Bool
  • Whether this user has muted themself.

    Declaration

    Swift

    public let selfMute: Bool
  • The session id that this state belongs to.

    Declaration

    Swift

    public let sessionId: String
  • Whether this user is being suppressed.

    Declaration

    Swift

    public let suppress: Bool
  • The snowflake id of the user this state is for.

    Declaration

    Swift

    public let userId: UserID