Package io.manebot.chat
Interface ChatEmbed
-
public interface ChatEmbed
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ChatEmbed.Builder
static class
ChatEmbed.Element
static class
ChatEmbed.Field
static class
ChatEmbed.ImageElement
static class
ChatEmbed.LocalImage
static class
ChatEmbed.RemoteImage
static class
ChatEmbed.TextElement
-
Method Summary
Modifier and Type Method Description java.awt.Color
getColor()
Gets the user-defined RGB color of this chat message.java.lang.String
getDescription()
Gets the description of this embed.java.util.Collection<ChatEmbed.Field>
getFields()
Gets the fields in this embed.java.lang.String
getFooter()
Gets the footer of this chat message.ChatEmbed.ImageElement
getThumbnail()
Gets the thumbnail set for this chat messagejava.lang.String
getTitle()
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.
-
-