Class VoiceSessionDescriptionPayload
- Namespace
- DSharpPlus.VoiceLink.Payloads
- Assembly
- DSharpPlus.VoiceLink.dll
Finally, the voice server will respond with a Enums.DiscordVoiceOpCode.SessionDescription that includes the mode
and secret_key
, a 32 byte array used for encrypting and sending voice data.
public sealed record VoiceSessionDescriptionPayload : IEquatable<VoiceSessionDescriptionPayload>
- Inheritance
-
VoiceSessionDescriptionPayload
- Implements
- Inherited Members
Properties
Mode
public required string Mode { get; init; }
Property Value
SecretKey
public required IEnumerable<byte> SecretKey { get; init; }