MessageListPicker

public struct MessageListPicker : Equatable, Sendable

A list picker displays a list of items, and information about the items.

It is a list of options, that customers can choose multiple times and are persistent in the conversation. The options/items are usually shown in overlay with richer formatting capabilities (icon, title, subtitle, sections, etc. in future) and with a bigger count than buttons or quick replies.

  • Title of the List Picker in the conversation

    Declaration

    Swift

    public let title: String
  • Additional text to be displayed after clicking on the picker list

    Declaration

    Swift

    public let text: String
  • The list picker replies button options.

    Declaration

    Swift

    public let buttons: [MessageSubElementType]

Init

  • Creates a MessageListPicker.

    Declaration

    Swift

    public init(title: String, text: String, buttons: [MessageSubElementType])

    Parameters

    title

    Title of the list picker shown inline in the conversation.

    text

    Additional descriptive text displayed when the user opens the picker.

    buttons

    The selectable options presented in the picker sheet.