ChoicesFormat

sealed interface ChoicesFormat : MessageFormat

Message format that contains choices.

Inheritors

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
class CarouselFormat(val items: List<TitleItem.TitleItemWithInteractions>, val images: List<FileAsset.ImageAsset.CarouselImage>) : ChoicesFormat
Link copied to clipboard
@JsonClass(generateAdapter = true)
class DisplayableOptionsFormat(val optionItems: List<OptionItem.TypedOptionItem>, val text: String) : ChoicesFormat
Link copied to clipboard
@JsonClass(generateAdapter = true)
class QuickRepliesFormat(val optionItems: List<OptionItem.TypedOptionItem>, val text: String) : ChoicesFormat

Properties

Link copied to clipboard
Link copied to clipboard
abstract val optionItems: List<OptionItem>