commonMain.entity.interaction.ActionInteraction.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.ActionInteractionBehavior
import dev.kord.core.supplier.EntitySupplyStrategy
/**
* An [Interaction] created when a user performs some form of action (e.g. using a slash command or pressing a button).
*
* @see DataInteraction
*/
public sealed interface ActionInteraction : Interaction, ActionInteractionBehavior {
override fun withStrategy(strategy: EntitySupplyStrategy<*>): ActionInteraction
}