SunshineConversationsClient::Field
August 27, 2025 ยท View on GitHub
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] |
| 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] |
Example
require 'sunshine-conversations-client'
instance = SunshineConversationsClient::Field.new(
type: null,
name: null,
label: null,
text: null,
email: null,
select: null
)