Class ChatMessage

java.lang.Object
net.zenoc.gallium.api.chat.ChatMessage

public class ChatMessage extends Object
  • Constructor Details

    • ChatMessage

      public ChatMessage(String content)
  • Method Details

    • getContent

      public String getContent()
    • from

      public static ChatMessage from(String content)
      Send a string to the caller
      Parameters:
      content - the message
      Returns:
      ChatMessage
    • from

      public static ChatMessage from(StringJoiner joiner)
      Send a string joiner to the caller
    • fromString

      public static ChatMessage fromString(String content)
      Deprecated.
      use from(String)
      Send a message to the caller
      Parameters:
      content - the message
      Returns:
      ChatMessage