DiscordApplication

data class DiscordApplication(val id: Snowflake, val name: String, val icon: String?, val description: String, val rpcOrigins: Optional<List<String>> = Optional.Missing(), val botPublic: Boolean, val botRequireCodeGrant: Boolean, val termsOfServiceUrl: Optional<String> = Optional.Missing(), val privacyPolicyUrl: Optional<String> = Optional.Missing(), val owner: Optional<DiscordUser> = Optional.Missing(), val verifyKey: String, val team: DiscordTeam?, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val primarySkuId: OptionalSnowflake = OptionalSnowflake.Missing, val slug: Optional<String> = Optional.Missing(), val coverImage: Optional<String> = Optional.Missing(), val flags: Optional<ApplicationFlags> = Optional.Missing(), val tags: Optional<List<String>> = Optional.Missing(), val installParams: Optional<InstallParams> = Optional.Missing(), val customInstallUrl: Optional<String> = Optional.Missing(), val roleConnectionsVerificationUrl: Optional<String?> = Optional.Missing()) : BaseDiscordApplication(source)

A representation of the Application Structure.

Constructors

Link copied to clipboard
constructor(id: Snowflake, name: String, icon: String?, description: String, rpcOrigins: Optional<List<String>> = Optional.Missing(), botPublic: Boolean, botRequireCodeGrant: Boolean, termsOfServiceUrl: Optional<String> = Optional.Missing(), privacyPolicyUrl: Optional<String> = Optional.Missing(), owner: Optional<DiscordUser> = Optional.Missing(), verifyKey: String, team: DiscordTeam?, guildId: OptionalSnowflake = OptionalSnowflake.Missing, primarySkuId: OptionalSnowflake = OptionalSnowflake.Missing, slug: Optional<String> = Optional.Missing(), coverImage: Optional<String> = Optional.Missing(), flags: Optional<ApplicationFlags> = Optional.Missing(), tags: Optional<List<String>> = Optional.Missing(), installParams: Optional<InstallParams> = Optional.Missing(), customInstallUrl: Optional<String> = Optional.Missing(), roleConnectionsVerificationUrl: Optional<String?> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "bot_public")
val botPublic: Boolean
Link copied to clipboard
@SerialName(value = "bot_require_code_grant")
val botRequireCodeGrant: Boolean
Link copied to clipboard
@SerialName(value = "cover_image")
open override val coverImage: Optional<String>
Link copied to clipboard
@SerialName(value = "custom_install_url")
open override val customInstallUrl: Optional<String>
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val flags: Optional<ApplicationFlags>
Link copied to clipboard
@SerialName(value = "guild_id")
open override val guildId: OptionalSnowflake
Link copied to clipboard
open override val icon: String?
Link copied to clipboard
open override val id: Snowflake
Link copied to clipboard
@SerialName(value = "install_params")
open override val installParams: Optional<InstallParams>
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val owner: Optional<DiscordUser>
Link copied to clipboard
@SerialName(value = "primary_sku_id")
open override val primarySkuId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "privacy_policy_url")
open override val privacyPolicyUrl: Optional<String>
Link copied to clipboard
@SerialName(value = "role_connections_verification_url")
open override val roleConnectionsVerificationUrl: Optional<String?>
Link copied to clipboard
@SerialName(value = "rpc_origins")
open override val rpcOrigins: Optional<List<String>>
Link copied to clipboard
open override val slug: Optional<String>
Link copied to clipboard
open override val tags: Optional<List<String>>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "terms_of_service_url")
open override val termsOfServiceUrl: Optional<String>
Link copied to clipboard
@SerialName(value = "verify_key")
open override val verifyKey: String