DiscordVoiceState
constructor(guildId: OptionalSnowflake = OptionalSnowflake.Missing, channelId: Snowflake?, userId: Snowflake, member: Optional<DiscordGuildMember> = Optional.Missing(), sessionId: String, deaf: Boolean, mute: Boolean, selfDeaf: Boolean, selfMute: Boolean, selfVideo: Boolean, selfStream: OptionalBoolean = OptionalBoolean.Missing, suppress: Boolean, requestToSpeakTimestamp: Instant?)(source)
Parameters
guildId
The guild id this voice state is for.
channelId
The channel id this user is connected to.
userId
The user id this voice state is for.
member
The guild member this voice state is for.
sessionId
The session id for this voice state.
deaf
Whether this user is deafened by the server.
mute
Whether this user is muted by the server.
selfDeaf
Whether this user is locally deafened.
selfMute
Whether this user is locally muted.
selfStream
Whether this user is stream using "Go Live".
selfVideo
Whether this user's camera is enabled.
suppress
Whether this user is muted by the current user.
requestToSpeakTimestamp
The time at which the user requested to speak.