commonMain.entity.interaction.DataInteraction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kord-core Show documentation
Show all versions of kord-core Show documentation
Idiomatic Kotlin Wrapper for The Discord API
package dev.kord.core.entity.interaction
import dev.kord.core.behavior.interaction.DataInteractionBehavior
import dev.kord.core.supplier.EntitySupplyStrategy
/**
* An [Interaction] created when Discord requests some form of data (e.g. for auto-complete).
*
* @see ActionInteraction
*/
public sealed interface DataInteraction : Interaction, DataInteractionBehavior {
override fun withStrategy(strategy: EntitySupplyStrategy<*>): DataInteraction
}