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
ApproximateGuildCount
Declaration
public int? ApproximateGuildCount { get; }
Property Value
|
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
CustomInstallUrl
Declaration
public string CustomInstallUrl { get; }
Property Value
|
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
Guild
Gets the partial guild object of the application's developer's support server. null if not set.
Declaration
public PartialGuild Guild { get; }
Property Value
|
Improve this Doc
View Source
IconUrl
Declaration
public string IconUrl { get; }
Property Value
|
Improve this Doc
View Source
InstallParams
Gets a collection of install parameters for this application; null if disabled.
Declaration
public ApplicationInstallParams InstallParams { get; }
Property Value
|
Improve this Doc
View Source
InteractionsEndpointUrl
Declaration
public string InteractionsEndpointUrl { 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
RedirectUris
Declaration
public IReadOnlyCollection<string> RedirectUris { get; }
Property Value
Type |
Description |
IReadOnlyCollection<String> |
|
|
Improve this Doc
View Source
RoleConnectionsVerificationUrl
Declaration
public string RoleConnectionsVerificationUrl { 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
|
Improve this Doc
View Source
VerifyKey
Declaration
public string VerifyKey { 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