Table of Contents

Class VoiceStateUpdatePayload

Namespace
Fluxer.Net.Gateway
Assembly
Fluxer.Net.dll

Gateway data for updating the current user's voice state. Sent as part of VOICE_STATE_UPDATE opcode (4).

public class VoiceStateUpdatePayload
Inheritance
object
VoiceStateUpdatePayload

Constructors

VoiceStateUpdatePayload(string?, string?, bool, bool)

public VoiceStateUpdatePayload(string? guildId, string? channelId, bool selfMute, bool selfDeaf)

Parameters

guildId string
channelId string
selfMute bool
selfDeaf bool

Properties

ChannelId

[JsonProperty("channel_id")]
public string? ChannelId { get; set; }

Property Value

string

ConnectionId

[JsonProperty("connection_id")]
public string? ConnectionId { get; set; }

Property Value

string

GuildId

[JsonProperty("guild_id")]
public string GuildId { get; set; }

Property Value

string

IsMobile

[JsonProperty("is_mobile")]
public bool IsMobile { get; set; }

Property Value

bool

Latitude

[JsonProperty("latitude")]
public string? Latitude { get; set; }

Property Value

string

Longitude

[JsonProperty("longitude")]
public string? Longitude { get; set; }

Property Value

string

SelfDeaf

[JsonProperty("self_deaf")]
public bool SelfDeaf { get; set; }

Property Value

bool

SelfMute

[JsonProperty("self_mute")]
public bool SelfMute { get; set; }

Property Value

bool

SelfStream

[JsonProperty("self_stream")]
public bool SelfStream { get; set; }

Property Value

bool

SelfVideo

[JsonProperty("self_video")]
public bool SelfVideo { get; set; }

Property Value

bool