Interface IApplication
Represents a Discord application created via the developer portal.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IApplication : ISnowflakeEntity, IEntity<ulong>
Properties
| Improve this Doc View SourceBotRequiresCodeGrant
Gets if the bot requires code grant.
Declaration
bool BotRequiresCodeGrant { get; }
Property Value
Type | Description |
---|---|
Boolean |
Description
Gets the description of the application.
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
String |
Flags
Gets the application's public flags.
Declaration
ApplicationFlags Flags { get; }
Property Value
Type | Description |
---|---|
ApplicationFlags |
IconUrl
Gets the icon URL of the application.
Declaration
string IconUrl { get; }
Property Value
Type | Description |
---|---|
String |
InstallParams
Gets a collection of install parameters for this application.
Declaration
ApplicationInstallParams InstallParams { get; }
Property Value
Type | Description |
---|---|
ApplicationInstallParams |
IsBotPublic
Gets if the bot is public.
Declaration
bool IsBotPublic { get; }
Property Value
Type | Description |
---|---|
Boolean |
Name
Gets the name of the application.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
Owner
Gets the partial user object containing info on the owner of the application.
Declaration
IUser Owner { get; }
Property Value
Type | Description |
---|---|
IUser |
PrivacyPolicy
Gets the the url of the app's privacy policy.
Declaration
string PrivacyPolicy { get; }
Property Value
Type | Description |
---|---|
String |
RPCOrigins
Gets the RPC origins of the application.
Declaration
IReadOnlyCollection<string> RPCOrigins { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<String> |
Tags
Gets a collection of tags related to the application.
Declaration
IReadOnlyCollection<string> Tags { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<String> |
Team
Gets the team associated with this application if there is one.
Declaration
ITeam Team { get; }
Property Value
Type | Description |
---|---|
ITeam |
TermsOfService
Gets the url of the app's terms of service.
Declaration
string TermsOfService { get; }
Property Value
Type | Description |
---|---|
String |