Package-level declarations

Types

Link copied to clipboard
data class Attachment(var id: Long, var fileSize: Int, var contentType: String, var link: String, var originalFileName: String? = null, val status: DeliveryStatus)

Attachment of message

Link copied to clipboard
data class CustomField(val id: Int, val name: Map<String, String?>, val type: FieldType, val value: String)

Custom field, defined on company.

Link copied to clipboard

Delivery status of message and attachment.

Link copied to clipboard

Type of the field. It can be FieldType.Input or FieldType.Dropdown.

Link copied to clipboard
data class Message(val id: String, val realId: Long = 0, val read: ReadStatus, val status: DeliveryStatus, val text: String? = "", val type: MessageType, val date: Instant?, val attachments: List<Attachment>? = null)

The message entity.

Link copied to clipboard

Enumerator with type of message.

Link copied to clipboard
data class Operator(val name: String, val avatar: String? = null, var typing: Boolean? = false)

The operator currently connected to the chat.

Link copied to clipboard