PartialApplication

class PartialApplication(val data: PartialApplicationData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : BaseApplication(source)

The partial details of an Application sent in InviteCreateEvents.

Constructors

Link copied to clipboard
constructor(data: PartialApplicationData, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The application's default custom authorization link, if enabled.

Link copied to clipboard
open override val data: PartialApplicationData
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val icon: Asset?
Link copied to clipboard
Link copied to clipboard
override val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard

Settings for the application's default in-app authorization link, if enabled.

Link copied to clipboard
override val kord: Kord

The kord instance that created this object.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

The rpc origins of this application, empty if disabled.

Link copied to clipboard
val slug: String?
Link copied to clipboard
override val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard

Tags describing the content and functionality of the application.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
suspend fun getGuildOrNull(): Guild?
Link copied to clipboard
suspend fun getOwnerOrNull(): User?
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun withStrategy(strategy: EntitySupplyStrategy<*>): PartialApplication

Returns a copy of this class with a new supplier provided by the strategy.