VisualInputValue

public enum VisualInputValue

The supported types as input for VisualItems.

  • Simple Text

    Declaration

    Swift

    case text(String)
  • Create a VisualInutValue.phone given a country alpha2code and phone number.

    Declaration

    Swift

    public static func makePhone(_ country: Alpha2Code, number: String?) -> VisualInputValue

    Parameters

    country

    the country alpha2code for the phone number

    number

    the phone number itself without the country prefix