Table of Contents

Interface IApplication

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a Discord application created via the developer portal.

public interface IApplication : ISnowflakeEntity, IEntity<ulong>
Inherited Members

Properties

ApproximateGuildCount

Gets the approximate count of the guild the application was added to. null if not returned.

int? ApproximateGuildCount { get; }

Property Value

int?

BotRequiresCodeGrant

Gets if the bot requires code grant. null if not set.

bool? BotRequiresCodeGrant { get; }

Property Value

bool?

CustomInstallUrl

Gets application's default custom authorization url. null if disabled.

string CustomInstallUrl { get; }

Property Value

string

Description

Gets the description of the application.

string Description { get; }

Property Value

string

DiscoverabilityState

Gets the application's discoverability state.

ApplicationDiscoverabilityState DiscoverabilityState { get; }

Property Value

ApplicationDiscoverabilityState

DiscoveryEligibilityFlags

Gets the application's discovery eligibility flags.

DiscoveryEligibilityFlags DiscoveryEligibilityFlags { get; }

Property Value

DiscoveryEligibilityFlags

ExplicitContentFilterLevel

Gets the application's explicit content filter level for uploaded media content used in application commands.

ApplicationExplicitContentFilterLevel ExplicitContentFilterLevel { get; }

Property Value

ApplicationExplicitContentFilterLevel

Flags

Gets the application's public flags.

ApplicationFlags Flags { get; }

Property Value

ApplicationFlags

Guild

Gets the partial guild object of the application's developer's support server. null if not set.

PartialGuild Guild { get; }

Property Value

PartialGuild

IconUrl

Gets the icon URL of the application.

string IconUrl { get; }

Property Value

string

InstallParams

Gets a collection of install parameters for this application; null if disabled.

ApplicationInstallParams InstallParams { get; }

Property Value

ApplicationInstallParams

IntegrationTypesConfig

Gets application install params configured for integration install types.

IReadOnlyDictionary<ApplicationIntegrationType, ApplicationInstallParams> IntegrationTypesConfig { get; }

Property Value

IReadOnlyDictionary<ApplicationIntegrationType, ApplicationInstallParams>

InteractionEventTypes

Gets event types to be sent to the interaction endpoint.

IReadOnlyCollection<string> InteractionEventTypes { get; }

Property Value

IReadOnlyCollection<string>

InteractionsEndpointUrl

Gets application's interactions endpoint url. null if not set.

string InteractionsEndpointUrl { get; }

Property Value

string

InteractionsVersion

Gets the interactions version application uses.

ApplicationInteractionsVersion InteractionsVersion { get; }

Property Value

ApplicationInteractionsVersion

IsBotPublic

Gets if the bot is public. null if not set.

bool? IsBotPublic { get; }

Property Value

bool?

IsHook

Gets whether the bot is allowed to hook into the application's game directly.

bool IsHook { get; }

Property Value

bool

IsMonetized

Whether the application has premium subscriptions.

bool IsMonetized { get; }

Property Value

bool

MonetizationEligibilityFlags

Gets the application's monetization eligibility flags.

ApplicationMonetizationEligibilityFlags MonetizationEligibilityFlags { get; }

Property Value

ApplicationMonetizationEligibilityFlags

MonetizationState

Gets the application's monetization state.

ApplicationMonetizationState MonetizationState { get; }

Property Value

ApplicationMonetizationState

Name

Gets the name of the application.

string Name { get; }

Property Value

string

Owner

Gets the partial user object containing info on the owner of the application.

IUser Owner { get; }

Property Value

IUser

PrivacyPolicy

Gets the the url of the app's privacy policy.

string PrivacyPolicy { get; }

Property Value

string

RPCOrigins

Gets the RPC origins of the application.

IReadOnlyCollection<string> RPCOrigins { get; }

Property Value

IReadOnlyCollection<string>

RedirectUris

Gets the redirect uris configured for the application.

IReadOnlyCollection<string> RedirectUris { get; }

Property Value

IReadOnlyCollection<string>

RoleConnectionsVerificationUrl

Gets the application's role connection verification entry point. null if not set.

string RoleConnectionsVerificationUrl { get; }

Property Value

string

RpcState

Gets the application's rpc state.

ApplicationRpcState RpcState { get; }

Property Value

ApplicationRpcState

StoreState

Gets the application's store state.

ApplicationStoreState StoreState { get; }

Property Value

ApplicationStoreState

Tags

Gets a collection of tags related to the application.

IReadOnlyCollection<string> Tags { get; }

Property Value

IReadOnlyCollection<string>

Team

Gets the team associated with this application if there is one.

ITeam Team { get; }

Property Value

ITeam

TermsOfService

Gets the url of the app's terms of service.

string TermsOfService { get; }

Property Value

string

VerificationState

Gets the application's verification state.

ApplicationVerificationState VerificationState { get; }

Property Value

ApplicationVerificationState

VerifyKey

Gets the hex encoded key for verification in interactions.

string VerifyKey { get; }

Property Value

string