Class RestApplication
Represents a REST-based entity that contains information about a Discord application created via the developer portal.
Inheritance
RestApplication
Assembly: Discord.Net.Rest.dll
Syntax
public class RestApplication : RestEntity<ulong>, IEntity<ulong>, IApplication, ISnowflakeEntity, IEntity<ulong>
Fields
|
Improve this Doc
View Source
_iconId
Declaration
Field Value
Properties
|
Improve this Doc
View Source
BotRequiresCodeGrant
Declaration
public bool BotRequiresCodeGrant { get; }
Property Value
|
Improve this Doc
View Source
CreatedAt
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
Type |
Description |
DateTimeOffset |
|
|
Improve this Doc
View Source
Description
Declaration
public string Description { get; }
Property Value
|
Improve this Doc
View Source
Flags
Gets the application's public flags.
Declaration
public ApplicationFlags Flags { get; }
Property Value
|
Improve this Doc
View Source
IconUrl
Declaration
public string IconUrl { get; }
Property Value
|
Improve this Doc
View Source
InstallParams
Declaration
public ApplicationInstallParams InstallParams { get; }
Property Value
|
Improve this Doc
View Source
IsBotPublic
Declaration
public bool IsBotPublic { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Improve this Doc
View Source
Owner
Gets the partial user object containing info on the owner of the application.
Declaration
public IUser Owner { get; }
Property Value
|
Improve this Doc
View Source
PrivacyPolicy
Declaration
public string PrivacyPolicy { get; }
Property Value
|
Improve this Doc
View Source
RPCOrigins
Declaration
public IReadOnlyCollection<string> RPCOrigins { get; }
Property Value
Type |
Description |
IReadOnlyCollection<String> |
|
|
Improve this Doc
View Source
Declaration
public IReadOnlyCollection<string> Tags { get; }
Property Value
Type |
Description |
IReadOnlyCollection<String> |
|
|
Improve this Doc
View Source
Team
Gets the team associated with this application if there is one.
Declaration
public ITeam Team { get; }
Property Value
|
Improve this Doc
View Source
TermsOfService
Declaration
public string TermsOfService { get; }
Property Value
Methods
|
Improve this Doc
View Source
ToString()
Gets the name of the application.
Declaration
public override string ToString()
Returns
Type |
Description |
String |
Name of the application.
|
|
Improve this Doc
View Source
UpdateAsync()
Declaration
public async Task UpdateAsync()
Returns
Implements