Class VoiceStateUpdatePayload
Gateway data for updating the current user's voice state. Sent as part of VOICE_STATE_UPDATE opcode (4).
public class VoiceStateUpdatePayload
- Inheritance
-
objectVoiceStateUpdatePayload
Constructors
VoiceStateUpdatePayload(string?, string?, bool, bool)
public VoiceStateUpdatePayload(string? guildId, string? channelId, bool selfMute, bool selfDeaf)
Parameters
Properties
ChannelId
[JsonProperty("channel_id")]
public string? ChannelId { get; set; }
Property Value
ConnectionId
[JsonProperty("connection_id")]
public string? ConnectionId { get; set; }
Property Value
GuildId
[JsonProperty("guild_id")]
public string GuildId { get; set; }
Property Value
IsMobile
[JsonProperty("is_mobile")]
public bool IsMobile { get; set; }
Property Value
Latitude
[JsonProperty("latitude")]
public string? Latitude { get; set; }
Property Value
Longitude
[JsonProperty("longitude")]
public string? Longitude { get; set; }
Property Value
SelfDeaf
[JsonProperty("self_deaf")]
public bool SelfDeaf { get; set; }
Property Value
SelfMute
[JsonProperty("self_mute")]
public bool SelfMute { get; set; }
Property Value
SelfStream
[JsonProperty("self_stream")]
public bool SelfStream { get; set; }
Property Value
SelfVideo
[JsonProperty("self_video")]
public bool SelfVideo { get; set; }