Package io.manebot.chat
Interface ChatEmbed
-
public interface ChatEmbed
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceChatEmbed.Builderstatic classChatEmbed.Elementstatic classChatEmbed.Fieldstatic classChatEmbed.ImageElementstatic classChatEmbed.LocalImagestatic classChatEmbed.RemoteImagestatic classChatEmbed.TextElement
-
Method Summary
Modifier and Type Method Description java.awt.ColorgetColor()Gets the user-defined RGB color of this chat message.java.lang.StringgetDescription()Gets the description of this embed.java.util.Collection<ChatEmbed.Field>getFields()Gets the fields in this embed.java.lang.StringgetFooter()Gets the footer of this chat message.ChatEmbed.ImageElementgetThumbnail()Gets the thumbnail set for this chat messagejava.lang.StringgetTitle()Gets the user-defined title of this chat message.
-
-
-
Method Detail
-
getColor
java.awt.Color getColor()
Gets the user-defined RGB color of this chat message.- Returns:
- ChatMessage color.
-
getTitle
java.lang.String getTitle()
Gets the user-defined title of this chat message.- Returns:
- title.
-
getDescription
java.lang.String getDescription()
Gets the description of this embed.- Returns:
- embed description.
-
getFields
java.util.Collection<ChatEmbed.Field> getFields()
Gets the fields in this embed.- Returns:
- field list.
-
getFooter
java.lang.String getFooter()
Gets the footer of this chat message.- Returns:
- footer string.
-
getThumbnail
ChatEmbed.ImageElement getThumbnail()
Gets the thumbnail set for this chat message- Returns:
- ImageElement representing the thumbnail of this image.
-
-