Table of Contents

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

public required string Mode { get; init; }

Property Value

string
public required IEnumerable<byte> SecretKey { get; init; }

Property Value

IEnumerable<byte>