Interface Button
- All Superinterfaces:
HasCustomId
,MessageComponent
- All Known Implementing Classes:
ButtonImpl
- Since:
- 5/30/21.
- Author:
- amy
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.message.component.MessageComponent
MessageComponent.MessageComponentType
-
Method Summary
Methods inherited from interface com.mewna.catnip.entity.partials.HasCustomId
customId
-
Method Details
-
type
- Specified by:
type
in interfaceMessageComponent
-
style
Button.ButtonStyle style() -
label
String label() -
emoji
Emoji emoji() -
url
String url() -
disabled
boolean disabled() -
toJson
default com.grack.nanojson.JsonObject toJson()- Specified by:
toJson
in interfaceMessageComponent
-