FormFormat

sealed interface FormFormat : MessageFormat

Message format that contains choices.

Inheritors

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
class InputsFormat(val formTitle: TitleItem.DefaultTitleItem, val message: TitleItem.DefaultTitleItem, val sections: List<InputSection>, val images: List<String>? = emptyList()) : FormFormat

Represents a form.

Properties

Link copied to clipboard
abstract override val formatType: FormFormat.FormFormatType

Functions

Link copied to clipboard
open fun hasValidationErrors(): Boolean
Link copied to clipboard
abstract fun validate(): List<Input.ValidationError?>