Table of Contents
API reference

Method RequestVoiceBackendVersionAsync

Namespace
DisCatSharp.Voice
Assembly
DisCatSharp.Voice.dll

RequestVoiceBackendVersionAsync()

Requests informational backend version details from Discord's voice server.

public Task RequestVoiceBackendVersionAsync()

Returns

Task

A task representing the request send operation. The response is delivered through VoiceBackendVersionReceived.

Remarks

Discord accepts this request only after the voice gateway has sent READY. The returned version strings are informational and do not change voice connection behavior.

Exceptions

InvalidOperationException

Thrown when the voice gateway has not sent READY for the current session.