Class RevoltRestClientBots
Assembly: Revolt.Net.dll​
View Source​
Declaration
public class RevoltRestClientBots
Properties​
Client​
View Source​
Declaration
public RevoltClient Client { get; }
Methods​
FetchOwnedBotsAsync()​
View Source​
Declaration
public Task<OwnedBotsResponse> FetchOwnedBotsAsync()
Returns​
System.Threading.Tasks.Task<Revolt.OwnedBotsResponse>
FetchOwnedBotAsync(String)​
View Source​
Declaration
public Task<OwnedBotResponse> FetchOwnedBotAsync(string botId)
Returns​
System.Threading.Tasks.Task<Revolt.OwnedBotResponse>
Parameters​
| Type | Name |
|---|---|
System.String | botId |
DeleteBotAsync(String)​
View Source​
Declaration
public Task DeleteBotAsync(string botId)
Returns​
System.Threading.Tasks.Task
Parameters​
| Type | Name |
|---|---|
System.String | botId |
FetchPublicBotAsync(String)​
View Source​
Declaration
public Task<User> FetchPublicBotAsync(string botId)
Returns​
System.Threading.Tasks.Task<Revolt.User>
Parameters​
| Type | Name |
|---|---|
System.String | botId |