Record Class ButtonDefinition

java.lang.Object
java.lang.Record
io.github.kaktushose.jdac.definitions.interactions.component.ButtonDefinition
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 button
label - the label of this button
emoji - the Emoji of this button or null
link - the link of this button or null
style - the ButtonStyle of this button
uniqueId - the uniqueId of this button
All Implemented Interfaces:
Definition, CustomIdJDAEntity<Button>, Invokable, JDAEntity<Button>, ComponentDefinition<Button>, InteractionDefinition

public record ButtonDefinition(ClassDescription classDescription, MethodDescription methodDescription, Collection<String> permissions, String label, @Nullable Emoji emoji, @Nullable String link, ButtonStyle style, @Nullable Integer uniqueId) extends Record implements ComponentDefinition<Button>
Representation of a button.