VoiceState
public struct VoiceState
Structure with user’s voice state info
-
The ID of the voice channel
Declaration
Swift
public let channelId: Snowflake
-
Whether or not the user is server deafend
Declaration
Swift
public let isDeafend: Bool
-
Whether or not the user is server muted
Declaration
Swift
public let isMuted: Bool
-
Whether or not the user self deafend themselves
Declaration
Swift
public let isSelfDeafend: Bool
-
Whether or not the user self muted themselves
Declaration
Swift
public let isSelfMuted: Bool
-
Whether or not the bot suppressed the user
Declaration
Swift
public let isSuppressed: Bool
-
The Session ID of the user and voice connection
Declaration
Swift
public let sessionId: String