All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.entity.interaction.ActionInteraction.kt Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy