Package net.deechael.dynamichat.api
Interface MessageButton
- All Known Subinterfaces:
CopyMessageButton
public interface MessageButton
Button will show after the message is clicked
-
Method Summary
Modifier and TypeMethodDescriptionvoidWill be invoked after the user click the buttonThe text will showThe tips will be shown if the user move their cursor on the message button
-
Method Details
-
display
The text will show- Parameters:
clicker- the user clicked messagemessage- the message was clicked- Returns:
- the text, if null means the button won't show for the user
-
click
Will be invoked after the user click the button- Parameters:
clicker- usermessage- the owner of the button
-
hover
The tips will be shown if the user move their cursor on the message button- Parameters:
clicker- usermessage- the owner of the button- Returns:
- the text will be shown
-