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

io.github.freya022.botcommands.api.modals.annotations.ModalInput.kt Maven / Gradle / Ivy

package io.github.freya022.botcommands.api.modals.annotations

import io.github.freya022.botcommands.api.modals.Modals

/**
 * Set this parameter as a modal input.
 *
 * The specified input name must be the same as the input name given in, for example, [Modals.createTextInput].
 *
 * @see ModalData @ModalData
 * @see ModalHandler @ModalHandler
 */
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.RUNTIME)
annotation class ModalInput(
    /**
     * The name of the modal input.
* Must match the input name provided in, for example, [Modals.createTextInput]. */ @get:JvmName("value") val name: String )




© 2015 - 2025 Weber Informatics LLC | Privacy Policy