Package-level declarations

Types

Link copied to clipboard
interface FormField

Common interface for pre-chat form fields that support user input, validation, and visibility control.

Link copied to clipboard
open class InternalPreChatField(val name: String, val order: Int, val labels: PreChatLabels = PreChatLabels(), val type: PreChatFieldType, val required: Boolean, val maxLength: Int, var userInput: String = "", var errorType: PreChatErrorType = PreChatErrorType.None, var isHidden: Boolean = false, var isEditable: Boolean = true) : PreChatField
Link copied to clipboard

The validation error type returned by PreChatField.validate.

Link copied to clipboard

Represents a single field in the pre-chat form that the end user must complete before starting a Conversation.

Link copied to clipboard
@JsonClass(generateAdapter = false)
enum PreChatFieldType : Enum<PreChatFieldType>

The input type of a PreChatField, which determines the validation rules and input behavior.

Link copied to clipboard
data class PreChatLabels(val display: String = "")

The labels associated with pre-chat fields.