Table of Contents

Class DiscordSocketRestClient

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll
public class DiscordSocketRestClient : DiscordRestClient, IDiscordClient, IDisposable, IAsyncDisposable, IRestClientProvider
Inheritance
DiscordSocketRestClient
Implements
Inherited Members
Extension Methods

Methods

LoginAsync(TokenType, string, bool)

public Task LoginAsync(TokenType tokenType, string token, bool validateToken = true)

Parameters

tokenType TokenType
token string
validateToken bool

Returns

Task

LogoutAsync()

public Task LogoutAsync()

Returns

Task