Class VoiceState
Fluxer entity with client attached.
public class VoiceState : Entity, IVoiceState
- Inheritance
-
objectVoiceState
- Implements
- Derived
Properties
ChannelId
Channel id connected to.
public ulong? ChannelId { get; }
Property Value
ConnectionId
Voice connection id.
public string? ConnectionId { get; }
Property Value
GuildId
Guild id for the voice channel.
public ulong? GuildId { get; }
Property Value
IsDeaf
User is deafened in the guild.
public bool IsDeaf { get; }
Property Value
IsMobile
User connected with mobile.
public bool IsMobile { get; }
Property Value
IsMute
User is muted in the guild.
public bool IsMute { get; }
Property Value
IsSelfDeaf
User is self deafend.
public bool IsSelfDeaf { get; }
Property Value
IsSelfMute
User is self muted.
public bool IsSelfMute { get; }
Property Value
IsSelfStream
User is streaming.
public bool IsSelfStream { get; }
Property Value
IsSelfVideo
User is using video.
public bool IsSelfVideo { get; }
Property Value
IsSuppressed
User can't speak in voice.
public bool IsSuppressed { get; }
Property Value
Member
public GuildMember? Member { get; }
Property Value
SessionId
Voice connection session.
public string SessionId { get; }
Property Value
UserId
User id that is connected.
public ulong UserId { get; }
Property Value
ViewerStreamKeys
Keys used for streaming.
public string[] ViewerStreamKeys { get; }
Property Value
- string[]
Methods
Create(FluxerBaseClient, VoiceStateJson)
Create a VoiceState object from json.
public static VoiceState Create(FluxerBaseClient client, VoiceStateJson json)
Parameters
clientFluxerBaseClientjsonVoiceStateJson