Class VoiceLinkConnection
- Namespace
- DSharpPlus.VoiceLink
- Assembly
- DSharpPlus.VoiceLink.dll
public sealed class VoiceLinkConnection
- Inheritance
-
VoiceLinkConnection
- Inherited Members
-
Constructors
VoiceLinkConnection(VoiceLinkExtension, DiscordChannel, VoiceState)
public VoiceLinkConnection(VoiceLinkExtension extension, DiscordChannel channel, VoiceState voiceState)
Parameters
extension
VoiceLinkExtension
channel
DiscordChannel
voiceState
VoiceState
Properties
public PipeWriter AudioInput { get; }
Property Value
- PipeWriter
Channel
public DiscordChannel Channel { get; init; }
Property Value
- DiscordChannel
Client
public DiscordClient Client { get; }
Property Value
- DiscordClient
Extension
public VoiceLinkExtension Extension { get; init; }
Property Value
- VoiceLinkExtension
Guild
public DiscordGuild Guild { get; }
Property Value
- DiscordGuild
HeartbeatPing
public TimeSpan HeartbeatPing { get; }
Property Value
- TimeSpan
Member
public DiscordMember Member { get; }
Property Value
- DiscordMember
Speakers
public IReadOnlyDictionary<uint, VoiceLinkUser> Speakers { get; }
Property Value
- IReadOnlyDictionary<uint, VoiceLinkUser>
User
public DiscordUser User { get; }
Property Value
- DiscordUser
VoiceState
public VoiceState VoiceState { get; init; }
Property Value
- VoiceState
VoiceUser
public VoiceLinkUser VoiceUser { get; }
Property Value
- VoiceLinkUser
Methods
DisconnectAsync()
public ValueTask DisconnectAsync()
Returns
- ValueTask
ReconnectAsync()
public ValueTask ReconnectAsync()
Returns
- ValueTask
StartSpeakingAsync()
public ValueTask StartSpeakingAsync()
Returns
- ValueTask