Sha256: 6aa3675da3b93c8efde49e41a30f01f4d0c8a060798ad9e70d71f3a5715d3871

Contents?: true

Size: 1.4 KB

Versions: 50

Compression:

Stored size: 1.4 KB

Contents

# SunshineConversationsClient::PrechatCapture

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**avatar_url** | **String** | Sets the URL of the avatar to use for the automatic reply to the prechat capture messages. | [optional] [default to 'undefined']
**enabled** | **Boolean** | If true, enables the Prechat Capture add-on when the Web Messenger is initialized. | [optional] [default to false]
**enable_email_linking** | **Boolean** | f true and Mailgun is integrated, will automatically link submitted emails. | [optional] [default to false]
**fields** | [**Array<Field>**](Field.md) | Array of Fields. Overrides the default Prechat Capture fields to define a custom form. | [optional] 

## Code Sample

```ruby
require 'SunshineConversationsClient'

instance = SunshineConversationsClient::PrechatCapture.new(avatar_url: https://domain.com/images/avatar.png,
                                 enabled: null,
                                 enable_email_linking: null,
                                 fields: [{"type":"email","name":"email","label":"Email","placeholder":"your@email.com"},{"type":"text","name":"company-website","label":"Company website","placeholder":"mycompany.com"}])
```


Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
sunshine-conversations-client-14.3.4 docs/PrechatCapture.md
sunshine-conversations-client-14.3.3 docs/PrechatCapture.md
sunshine-conversations-client-14.3.2 docs/PrechatCapture.md
sunshine-conversations-client-14.3.1 docs/PrechatCapture.md
sunshine-conversations-client-14.3.0 docs/PrechatCapture.md
sunshine-conversations-client-14.2.0 docs/PrechatCapture.md
sunshine-conversations-client-14.1.0 docs/PrechatCapture.md
sunshine-conversations-client-14.0.0 docs/PrechatCapture.md
sunshine-conversations-client-13.2.0 docs/PrechatCapture.md
sunshine-conversations-client-13.1.0 docs/PrechatCapture.md
sunshine-conversations-client-13.0.0 docs/PrechatCapture.md
sunshine-conversations-client-12.8.0 docs/PrechatCapture.md
sunshine-conversations-client-12.7.0 docs/PrechatCapture.md
sunshine-conversations-client-12.6.2 docs/PrechatCapture.md
sunshine-conversations-client-12.6.1 docs/PrechatCapture.md
sunshine-conversations-client-12.6.0 docs/PrechatCapture.md
sunshine-conversations-client-12.5.1 docs/PrechatCapture.md
sunshine-conversations-client-12.4.0 docs/PrechatCapture.md
sunshine-conversations-client-12.3.1 docs/PrechatCapture.md
sunshine-conversations-client-12.3.0 docs/PrechatCapture.md