java.lang.Object
com.flowingcode.vaadin.addons.chatassistant.Message

public class Message extends Object
Class that represents a chat message. It contains several configurations to control the appearance of the message, such as:
  • continued: when true, the message is continued with the previous one.
  • right: when true, the message is aligned to the right.
  • delay: it can show some delay before being sent.
  • loading: it can show a loading image before showing the message.
  • sender: it allows to specify the sender.
Author:
mmlopez
  • Constructor Details

    • Message

      public Message()
  • Method Details

    • getJsonObject

      public elemental.json.JsonObject getJsonObject()