Class VoiceStateProperties
- Namespace
- NetCord.Gateway
- Assembly
- NetCord.dll
public class VoiceStateProperties
- Inheritance
-
VoiceStateProperties
- Inherited Members
-
Constructors
VoiceStateProperties(ulong, ulong?)
public VoiceStateProperties(ulong guildId, ulong? channelId)
Parameters
guildId
ulong
channelId
ulong?
Properties
ChannelId
[JsonPropertyName("channel_id")]
public ulong? ChannelId { get; set; }
Property Value
- ulong?
GuildId
[JsonPropertyName("guild_id")]
public ulong GuildId { get; set; }
Property Value
- ulong
SelfDeaf
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("self_deaf")]
public bool? SelfDeaf { get; set; }
Property Value
- bool?
SelfMute
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("self_mute")]
public bool? SelfMute { get; set; }
Property Value
- bool?
Methods
WithChannelId(ulong?)
public VoiceStateProperties WithChannelId(ulong? channelId)
Parameters
channelId
ulong?
Returns
- VoiceStateProperties
WithGuildId(ulong)
public VoiceStateProperties WithGuildId(ulong guildId)
Parameters
guildId
ulong
Returns
- VoiceStateProperties
WithSelfDeaf(bool?)
public VoiceStateProperties WithSelfDeaf(bool? selfDeaf = true)
Parameters
selfDeaf
bool?
Returns
- VoiceStateProperties
WithSelfMute(bool?)
public VoiceStateProperties WithSelfMute(bool? selfMute = true)
Parameters
selfMute
bool?
Returns
- VoiceStateProperties