Application class
An OAuth2 application.
- Inheritance
-
- Object
- PartialApplication
- Application
Properties
- approximateGuildCount → int?
-
The approximate number of guilds this bot has been added to.
final
- bot → PartialUser?
-
The bot user associated with the application.
final
- botRequiresCodeGrant → bool
-
Whether the bot account associated with this application requires the OAuth2 code grant to be completed before joining a guild.
final
- coverImage → CdnAsset?
-
This application's cover image.
no setter
- coverImageHash → String?
-
The hash of this application's rich presence invite cover image.
final
- customInstallUrl → Uri?
-
The custom authorization link for this application.
final
- description → String
-
This application's description.
final
- entitlements → EntitlementManager
-
An EntitlementManager for this application's Entitlements.
no setterinherited
- flags → ApplicationFlags
-
The public flags for this application.
final
- guild → PartialGuild?
-
The guild associated with this application.
final
- guildId → Snowflake?
-
The ID of the guild associated with this application.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → CdnAsset?
-
This application's icon.
no setter
- iconHash → String?
-
The hash of this application's icon.
final
- id → Snowflake
-
The ID of this application.
finalinherited
- installationParameters → InstallationParameters?
-
Settings for this application's default authorization link.
final
-
integrationTypesConfig
→ Map<
ApplicationIntegrationType, ApplicationIntegrationTypeConfiguration> ? -
Default scopes and permissions for each supported installation context.
final
- interactionsEndpointUrl → Uri?
-
The interactions endpoint URL for this application.
final
- isBotPublic → bool
-
Whether the bot account associated with this application can be added to guilds by anyone.
final
- manager → ApplicationManager
-
The manager for this application.
finalinherited
- name → String
-
The name of this application.
final
- owner → PartialUser?
-
The owner of this application.
final
- primarySkuId → Snowflake?
-
If this application is a game sold on Discord, the ID of the "Game SKU" that is created, if it exists.
final
- privacyPolicyUrl → Uri?
-
The URL of this application's Privacy Policy.
final
-
redirectUris
→ List<
Uri> ? -
The list of redirect URIs for this application.
final
- roleConnectionsVerificationUrl → Uri?
-
This application's role connection verification entry point.
final
-
rpcOrigins
→ List<
String> ? -
A list of rpc origin urls, if rpc is enabled.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String?
-
If this application is a game sold on Discord, the URL slug that links to the store page.
final
-
Up to 5 tags describing this application.
final
- team → Team?
-
If this application belongs to a team, the team which owns this app.
final
- termsOfServiceUrl → Uri?
-
The URL of this application's Terms of Service.
final
- verifyKey → String
-
A hex string used to verify interactions.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
fetchRoleConnectionMetadata(
) → Future< List< ApplicationRoleConnectionMetadata> > -
Fetch this application's role connection metadata.
inherited
-
listSkus(
) → Future< List< Sku> > -
List this application's SKUs.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateRoleConnectionMetadata(
) → Future< List< ApplicationRoleConnectionMetadata> > -
Update and fetch this application's role connection metadata.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited