SlackClientWrapper.TestAuthAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.