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

NameTypeDescription
dateDatenon null sending date
contentStringnon null string representating the conent of the chat message
typeChatMessageTypenon 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.