Package com.unblu.sdk.core.model
Class TextMessageData
java.lang.Object
com.unblu.sdk.core.model.MessageData
com.unblu.sdk.core.model.TextMessageData
Represents a specific object containing data for the text-based messages.
-
Field Summary
FieldsModifier and TypeFieldDescription@Nullable QuickReply[]A list of quick replies.final @NonNull StringThe text content of the message.final @NonNull ConversationMessageTextTypeThe type of the text content.Fields inherited from class com.unblu.sdk.core.model.MessageData
fallbackText, internal, locale -
Constructor Summary
ConstructorsConstructorDescriptionTextMessageData(@NonNull String text, @NonNull ConversationMessageTextType textType, @NonNull String fallbackText) -
Method Summary
-
Field Details
-
text
The text content of the message. -
textType
The type of the text content. The message text can be formatted with Markdown.ConversationMessageTextType.MARKDOWN -
quickReplies
A list of quick replies. Optional.
-
-
Constructor Details
-
TextMessageData
public TextMessageData(@NonNull String text, @NonNull ConversationMessageTextType textType, @NonNull String fallbackText)
-