ModalInput

annotation class ModalInput(val customId: String)(source)

Set this parameter as a modal input.

The specified input custom ID must be the same as the custom ID of a component in that modal.

The supported data types can be seen in ModalParameterResolver, more types can be supported by implementing it.

See also

@ModalData

@ModalHandler

Properties

Link copied to clipboard
@get:JvmName(name = "value")
val customId: String

The custom ID this modal input will match against.