Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.28 KB

FormMessageField.md

File metadata and controls

31 lines (18 loc) · 1.28 KB

SunshineConversationsClient.FormMessageField

Properties

Name Type Description Notes
type String The field type.
name String The name of the field. Must be unique per form or formResponse.
label String The label of the field. What the field is displayed as on Web Messenger.
text String Specifies the response for a text field. [optional]
email String Specifies the response for a email field. [optional]
select [Object] Array of objects representing the response for a field of type select. Form and formResponse messages only. [optional]
placeholder String Placeholder text for the field. Form message only. [optional]
minSize Number The minimum allowed length for the response for a field of type text. Form message only. [optional] [default to 1]
maxSize Number The maximum allowed length for the response for a field of type text. Form message only. [optional] [default to 128]
options [Object] Array of objects representing options for a field of type select. [optional]

Enum: TypeEnum

  • email (value: "email")

  • select (value: "select")

  • text (value: "text")