Table of Contents

Class VoiceState

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class VoiceState : Entity, IVoiceState
Inheritance
object
VoiceState
Implements
Derived

Properties

ChannelId

Channel id connected to.

public ulong? ChannelId { get; }

Property Value

ulong?

ConnectionId

Voice connection id.

public string? ConnectionId { get; }

Property Value

string

GuildId

Guild id for the voice channel.

public ulong? GuildId { get; }

Property Value

ulong?

IsDeaf

User is deafened in the guild.

public bool IsDeaf { get; }

Property Value

bool

IsMobile

User connected with mobile.

public bool IsMobile { get; }

Property Value

bool

IsMute

User is muted in the guild.

public bool IsMute { get; }

Property Value

bool

IsSelfDeaf

User is self deafend.

public bool IsSelfDeaf { get; }

Property Value

bool

IsSelfMute

User is self muted.

public bool IsSelfMute { get; }

Property Value

bool

IsSelfStream

User is streaming.

public bool IsSelfStream { get; }

Property Value

bool

IsSelfVideo

User is using video.

public bool IsSelfVideo { get; }

Property Value

bool

IsSuppressed

User can't speak in voice.

public bool IsSuppressed { get; }

Property Value

bool

Member

public GuildMember? Member { get; }

Property Value

GuildMember

SessionId

Voice connection session.

public string SessionId { get; }

Property Value

string

UserId

User id that is connected.

public ulong UserId { get; }

Property Value

ulong

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

client FluxerBaseClient
json VoiceStateJson

Returns

VoiceState