ChatMessage
The ChatMessage model introduces the ChatMessage constructor that enables sending text messages.
Available in the package com.voxeet.sdk.models.v2.ChatMessage.
Constructors
ChatMessage
▸ ChatMessage(@NonNull date
: Date, @NonNull content
: String, @NonNull type
: ChatMessageType)
A constructor that enables sending messages. A message consists of the date, the content, and the type of content formatting.
Parameters
Name | Type | Description |
---|---|---|
date | Date | non null sending date |
content | String | non null string representating the conent of the chat message |
type | ChatMessageType | non null message type that formats the message |
Properties
date (Date)
The date of the message.
content (String)
The message content.
type (ChatMessageType)
The message type.
Updated about 2 years ago