Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AttachmentResponse(val name: String, val type: String, val status: String, val sender: String, val storagePath: String, val created: String? = null, val sizeKb: String, val url: String? = null, val id: String, val uploadUrl: String? = null)
Link copied to clipboard
@Serializable
data class ButtonAttachmentComplete(val attachmentIds: List<String>, val temporaryChatMessageId: String, val exchangeId: String)
Link copied to clipboard
@Serializable
data class CompleteAttachment(val attachmentIds: List<String>, val temporaryChatMessageId: String?, val exchangeId: String?, val chatMessageId: String?)
Link copied to clipboard
@Serializable
data class FormAttachmentComplete(val attachmentIds: List<String>, val chatMessageId: String)
Link copied to clipboard
@Serializable
data class InputFieldAttachmentComplete(val attachmentIds: List<String>, val temporaryChatMessageId: String, val exchangeId: String? = null)
Link copied to clipboard
@Serializable
data class LatestMessageDTO(val chatMessages: List<MessageData>, val takenOver: Boolean?, val requestedTakeover: Boolean?, val buttonClicks: List<ButtonDataSDK>, val attachments: List<AttachmentResponse>?, val supportsAttachments: Boolean?, val handoverQueuePosition: Int?, val handoverWaitTimeEstimate: Int?)
Link copied to clipboard
@Serializable
data class ListAttachmentResponse(val attachments: List<AttachmentResponse>)
Link copied to clipboard
@Serializable
data class PusherAuthResponseDTO(val auth: String)
Link copied to clipboard
@Serializable
data class PusherSubscriptionSucceededDTO(val channel: String)
Link copied to clipboard
@Serializable
data class SubmitFeedbackData(val id: String = "")
Link copied to clipboard
@Serializable
data class SubmitFeedbackResponse(val data: SubmitFeedbackData)
Link copied to clipboard
@Serializable
data class SubmitFormResponse(val formSubmissionId: String, val formId: String, val state: FormState, val updatedContext: UpdatedContext)
Link copied to clipboard
@Serializable(with = UpdatedContextSerializer::class)
data class UpdatedContext(val name: String = "", val organizationName: String = "", val dynamicContext: Map<String, String>)
Link copied to clipboard

Functions

Link copied to clipboard
fun Attachment.toMessage(chatMessageID: String): MessageDataSDK