Table of Contents

Class VoiceLinkStateCommand

Namespace
DSharpPlus.VoiceLink.Commands
Assembly
DSharpPlus.VoiceLink.dll
public record VoiceLinkStateCommand : IEquatable<VoiceLinkStateCommand>
Inheritance
VoiceLinkStateCommand
Implements
Inherited Members

Properties

[JsonProperty("channel_id")]
public required ulong? ChannelId { get; init; }

Property Value

ulong?
[JsonProperty("deaf")]
public required bool Deaf { get; init; }

Property Value

bool
[JsonProperty("guild_id")]
public required ulong? GuildId { get; init; }

Property Value

ulong?
[JsonProperty("member")]
public required Optional<DiscordMember> Member { get; init; }

Property Value

Optional<DiscordMember>
[JsonProperty("mute")]
public required bool Mute { get; init; }

Property Value

bool
[JsonProperty("request_to_speak_timestamp")]
public required DateTimeOffset? RequestToSpeakTimestamp { get; init; }

Property Value

DateTimeOffset?
[JsonProperty("self_deaf")]
public required bool SelfDeaf { get; init; }

Property Value

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

Property Value

bool
[JsonProperty("self_stream")]
public required Optional<bool> SelfStream { get; init; }

Property Value

Optional<bool>
[JsonProperty("self_video")]
public required bool SelfVideo { get; init; }

Property Value

bool
[JsonProperty("session_id")]
public required string SessionId { get; init; }

Property Value

string
[JsonProperty("suppress")]
public required bool Suppress { get; init; }

Property Value

bool
[JsonProperty("user_id")]
public required ulong UserId { get; init; }

Property Value

ulong