Table of Contents

Method GetVoiceStateAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetVoiceStateAsync(CancellationToken)

Gets the member's voice state.

public Task<DiscordVoiceState?> GetVoiceStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordVoiceState>