Table of Contents

Method GetVoiceChannelInfoAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetVoiceChannelInfoAsync()

Gets the status and start time of the currently active voice session, if available. Returns (null, null) if there was no active voice session.

public Task<(string? status, DateTimeOffset? startTime)> GetVoiceChannelInfoAsync()

Returns

Task<(string status, DateTimeOffset? startTime)>