KUSConversation

KUSConversation Class reference for Kustomer Chat iOS Core API .

A conversation between a KUSCustomer and zero or more KUSUsers.

public class KUSConversation : CustomStringConvertible

properties

id

public var id: String?

createdAt

public var createdAt: Date?

lastMessageAt

public var lastMessageAt: Date?

status

public var status: KUSConversationStatus?

lockedAt

Date the conversation was closed.

public var lockedAt: Date?

lockedByCustomer

Was this conversation closed by the customer?

public var lockedByCustomer: Bool?

lockReason

Reason for the conversation being closed

public var lockReason: KUSConversationLockReason?

preview

public var preview: String?

respondingUserIds

IDs of KUSUsers who have responded to this conversation.

public var respondingUserIds: [String?]?

unreadMessageCount

Count of unread messages

public var unreadMessageCount: Int?

customers

KUSCustomerss who have sent at least one message in this conversation.

In some cases this may contain KUSCustomers in addition to the currently logged in [KUSCustomer](../Classes/KUSCustomer.html).

public var customers: [KUSCustomer]?

users

KUSUsers who have sent at least one message in this conversation.

public var users: [KUSUser]?

localUuid

Temporary local ID. A unique identifier for conversations that have been created on-device, but not successfully sent to Kustomer’s servers and processed by the Kustomer platform.

public var localUuid: String?

CustomStringConvertible

[description](#/s:s23CustomStringConvertibleP11descriptionSSvp)

public var description: String { get }

Did this page help you?