Record Class ModalDefinition

java.lang.Object
java.lang.Record
com.github.kaktushose.jda.commands.definitions.interactions.ModalDefinition
Record Components:
classDescription - the ClassDescription of the declaring class of the methodDescription()
methodDescription - the MethodDescription of the method this definition is bound to
permissions - a Collection of permissions for this modal
title - the title of the modal
textInputs - the TextInputs of this modal
All Implemented Interfaces:
Definition, CustomIdJDAEntity<net.dv8tion.jda.api.interactions.modals.Modal>, Invokable, InteractionDefinition

public record ModalDefinition(@NotNull ClassDescription classDescription, @NotNull MethodDescription methodDescription, @NotNull Collection<String> permissions, @NotNull String title, @NotNull SequencedCollection<ModalDefinition.TextInputDefinition> textInputs) extends Record implements InteractionDefinition, CustomIdJDAEntity<net.dv8tion.jda.api.interactions.modals.Modal>
Representation of a modal.