ChatStatement

open class ChatStatement(var text: String = "", var timestamp: Long = System.currentTimeMillis())

Deprecated

Not for external use. Public access will be removed in 4.0.0.

Base model of a single message in the conversation, as exchanged with the Messenger service.

Inheritors

Constructors

Link copied to clipboard
constructor(text: String = "", timestamp: Long = System.currentTimeMillis())

Types

Link copied to clipboard
object Companion

Factory for empty ChatStatement instances.

Properties

Link copied to clipboard
var participantInfo: ParticipantInfo

Information about the participant (agent, bot, or unknown) who sent this message.

Link copied to clipboard
var sId: String

Unique identifier of this message. A random UUID is assigned on creation.

Link copied to clipboard
@SerializedName(value = "title", alternate = ["text", "answersCaption", "content"])
open var text: String

The message text.

Link copied to clipboard

Time the message was created, in milliseconds since the epoch.