Table of Contents

Class VoiceLinkConnection

Namespace
DSharpPlus.VoiceLink
Assembly
DSharpPlus.VoiceLink.dll
public sealed class VoiceLinkConnection
Inheritance
VoiceLinkConnection
Inherited Members

Constructors

public VoiceLinkConnection(VoiceLinkExtension extension, DiscordChannel channel, VoiceState voiceState)

Parameters

extension VoiceLinkExtension
channel DiscordChannel
voiceState VoiceState

Properties

public PipeWriter AudioInput { get; }

Property Value

PipeWriter
public DiscordChannel Channel { get; init; }

Property Value

DiscordChannel
public DiscordClient Client { get; }

Property Value

DiscordClient
public VoiceLinkExtension Extension { get; init; }

Property Value

VoiceLinkExtension
public DiscordGuild Guild { get; }

Property Value

DiscordGuild
public TimeSpan HeartbeatPing { get; }

Property Value

TimeSpan
public DiscordMember Member { get; }

Property Value

DiscordMember
public IReadOnlyDictionary<uint, VoiceLinkUser> Speakers { get; }

Property Value

IReadOnlyDictionary<uint, VoiceLinkUser>
public DiscordUser User { get; }

Property Value

DiscordUser
public VoiceState VoiceState { get; init; }

Property Value

VoiceState
public VoiceLinkUser VoiceUser { get; }

Property Value

VoiceLinkUser

Methods

public ValueTask DisconnectAsync()

Returns

ValueTask
public ValueTask ReconnectAsync()

Returns

ValueTask
public ValueTask StartSpeakingAsync()

Returns

ValueTask