GlobalInteractionBehavior

Properties

Link copied to clipboard
abstract val applicationId: Snowflake

The id of the application the interaction is for.

Link copied to clipboard

The behavior of the channel the interaction was sent from.

Link copied to clipboard
abstract val channelId: Snowflake

The id of the channel the interaction was sent from.

Link copied to clipboard
abstract val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard
abstract val kord: Kord

The kord instance that created this object.

Link copied to clipboard
abstract val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard
abstract val token: String

A continuation token for responding to the interaction.

Functions

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

Compares entities on id.

Link copied to clipboard
open suspend fun getChannel(): MessageChannel
Link copied to clipboard
open suspend fun getChannelOrNull(): MessageChannel?
Link copied to clipboard
abstract override fun withStrategy(strategy: EntitySupplyStrategy<*>): GlobalInteractionBehavior

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