Sha256: 538fe26ffed6aa29b0d0bbede1b5633e4ea07ee7d7df2a95c9169053bf91d508

Contents?: true

Size: 1.75 KB

Versions: 26

Compression:

Stored size: 1.75 KB

Contents

# 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** | **Array<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] 
**min_size** | **Integer** | The minimum allowed length for the response for a field of type text. Form message only. | [optional] [default to 1]
**max_size** | **Integer** | The maximum allowed length for the response for a field of type text. Form message only. | [optional] [default to 128]
**options** | **Array<Object>** | Array of objects representing options for a field of type select. | [optional] 

## Code Sample

```ruby
require 'SunshineConversationsClient'

instance = SunshineConversationsClient::FormMessageField.new(type: null,
                                 name: null,
                                 label: null,
                                 text: null,
                                 email: null,
                                 select: null,
                                 placeholder: null,
                                 min_size: null,
                                 max_size: null,
                                 options: null)
```


Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sunshine-conversations-client-12.3.0 docs/FormMessageField.md
sunshine-conversations-client-12.2.2 docs/FormMessageField.md
sunshine-conversations-client-12.2.0 docs/FormMessageField.md
sunshine-conversations-client-12.1.0 docs/FormMessageField.md
sunshine-conversations-client-12.0.0 docs/FormMessageField.md
sunshine-conversations-client-11.0.0 docs/FormMessageField.md