Table of Contents

Class DiscordApplication

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents an OAuth2 application.

public sealed class DiscordApplication : DiscordMessageApplication, IEquatable<DiscordApplication>
Inheritance
DiscordApplication
Implements
Inherited Members

Properties

ApproximateGuildCount

Gets the approximate guild count

CoverImageHash

Gets the hash of the application's cover image.

CoverImageUrl

Gets this application's cover image URL.

CustomInstallUrl

A custom url for the Add To Server button.

Flags

Gets the application's flags.

Guild

Gets the partial guild if set as support server.

GuildId

If this application is a game sold on Discord, this field will be the guild to which it has been linked

Icon

Gets the application's icon.

IconHash

Gets the application's icon hash.

InstallParams

Install parameters for adding the application to a guild.

IntegrationTypesConfig

Gets the integration types config.

InteractionsEndpointUrl

Gets the interactions endpoint url.

IsHook

Whether the application is hooked.

IsPublic

Gets whether this bot application is public.

Members

Gets the application's team members.

Owner

Gets the application's owner.

PrimarySkuId

If this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists

PrivacyPolicyUrl

Gets the privacy policy url of the application.

RedirectUris

Gets the redirect uris.

RequiresCodeGrant

Gets whether this application's bot user requires code grant.

RoleConnectionsVerificationUrl

The application's role connection verification entry point, which when configured will render the app as a verification method in the guild role verification configuration.

RpcOrigins

Gets the application's allowed RPC origins.

Slug

If this application is a game sold on Discord, this field will be the URL slug that links to the store page

Summary

Gets the application's summary.

Tags

The application tags. Not used atm.

Team

Gets the team which owns this application.

TeamName

Gets the team name of the application.

TermsOfServiceUrl

Gets the terms of service url of the application.

Type

Gets the application type. Mostly null.

VerifyKey

Gets the hex encoded key for verification in interactions and the GameSDK's GetTicket

Methods

Equals(DiscordApplication)

Checks whether this DiscordApplication is equal to another DiscordApplication.

Equals(object)

Checks whether this DiscordApplication is equal to another object.

GenerateBotOAuth(Permissions)

Generates an oauth url for the application.

GetAssetsAsync()

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.