Class DiscordApplication
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents an OAuth2 application.
public sealed class DiscordApplication : DiscordMessageApplication
- Inheritance
-
DiscordApplication
- Inherited Members
Properties
- CoverImageHash
Gets the hash of the application's cover image.
- CoverImageUrl
Gets this application's cover image URL.
- Flags
Gets the application's flags.
- Icon
Gets the application's icon.
- IconHash
Gets the application's icon hash.
- IntegrationTypeConfigurations
Default scopes and permissions for each supported installation context.
- IsPublic
Gets whether this bot application is public.
- Owners
Gets the application's owners.
- PrivacyPolicyUrl
Gets the application's privacy policy URL.
- RequiresCodeGrant
Gets whether this application's bot user requires code grant.
- RpcOrigins
Gets the application's allowed RPC origins.
- Summary
Gets the application's summary.
- Team
Gets the team which owns this application.
- TermsOfServiceUrl
Gets the application's terms of service URL.
Methods
- Equals(DiscordApplication?)
Checks whether this DiscordApplication is equal to another DiscordApplication.
- Equals(object?)
Checks whether this DiscordApplication is equal to another object.
- GenerateOAuthUri(string?, DiscordPermissions?, params DiscordOAuthScope[])
Generates a new OAuth2 URI for this application.
- GetAssetsAsync(bool)
Retrieves this application's assets.
- GetAvatarUrl(ImageFormat, ushort)
Gets the application's cover image URL, in requested format and size.
- GetHashCode()
Gets the hash code for this DiscordApplication.
Operators
- operator ==(DiscordApplication, DiscordApplication)
Gets whether the two DiscordApplication objects are equal.
- operator !=(DiscordApplication, DiscordApplication)
Gets whether the two DiscordApplication objects are not equal.