Share via


SlackClientWrapper.TestAuthAsync(CancellationToken) Method

Definition

Wraps Slack API's TestAuthAsync method.

public virtual System.Threading.Tasks.Task<string> TestAuthAsync (System.Threading.CancellationToken cancellationToken);
abstract member TestAuthAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.TestAuthAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function TestAuthAsync (cancellationToken As CancellationToken) As Task(Of String)

Parameters

cancellationToken
CancellationToken

A cancellation token for the task.

Returns

The user Id.

Applies to