Package io.manebot.chat
Class AbstractTextChatMessage
- java.lang.Object
-
- io.manebot.chat.AbstractChatMessage
-
- io.manebot.chat.AbstractTextChatMessage
-
- All Implemented Interfaces:
ChatMessage
- Direct Known Subclasses:
BasicTextChatMessage
public abstract class AbstractTextChatMessage extends AbstractChatMessage
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.manebot.chat.ChatMessage
ChatMessage.Builder
-
-
Constructor Summary
Constructors Constructor Description AbstractTextChatMessage(ChatSender sender, java.lang.String message)
-
Method Summary
Modifier and Type Method Description java.util.Collection<ChatEmbed>
getEmbeds()
Gets a collection of embeds associated with this chat message.java.lang.String
getMessage()
Gets the raw chat message string for this message.-
Methods inherited from class io.manebot.chat.AbstractChatMessage
getDate, getSender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.manebot.chat.ChatMessage
delete, doesMentionSelf, edit, edit, getEditedDate, getMentions, getRawMessage, wasEdited
-
-
-
-
Constructor Detail
-
AbstractTextChatMessage
public AbstractTextChatMessage(ChatSender sender, java.lang.String message)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Description copied from interface:ChatMessage
Gets the raw chat message string for this message.- Returns:
- message string.
-
getEmbeds
public java.util.Collection<ChatEmbed> getEmbeds()
Description copied from interface:ChatMessage
Gets a collection of embeds associated with this chat message.- Returns:
- embeds.
-
-