Enum Class ConversationMessageTextType

java.lang.Object
java.lang.Enum<ConversationMessageTextType>
com.unblu.sdk.core.model.ConversationMessageTextType
All Implemented Interfaces:
Serializable, Comparable<ConversationMessageTextType>, Constable

public enum ConversationMessageTextType extends Enum<ConversationMessageTextType>
Represents the type of a message text. Used primarily for sending messages via the Android SDK API. For a message to be displayed with Markdown formatting, the current conversation must be configured to accept Markdown syntax.
  • Enum Constant Details

    • SIMPLE_TEXT

      public static final ConversationMessageTextType SIMPLE_TEXT
      A basic text message, without any special formatting.
    • MARKDOWN

      public static final ConversationMessageTextType MARKDOWN
      A text message that supports Markdown syntax for formatting. This feature must be enabled on the server with a configuration property.
  • Method Details

    • values

      public static ConversationMessageTextType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ConversationMessageTextType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null