Sha256: 22af6709559e373fbb5652c5b18d622e623c5ff4a44762321ad9b96ed6f32f94

Contents?: true

Size: 1.79 KB

Versions: 50

Compression:

Stored size: 1.79 KB

Contents

# SunshineConversationsClient::Webview

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **String** | The type of action. | 
**uri** | **String** | The webview URI. This is the URI that will open in the webview when clicking the button. | 
**text** | **String** | The button text. | 
**default** | **Boolean** | Boolean value indicating whether the action is the default action for a message item in Facebook Messenger. | [optional] 
**metadata** | [**Object**](.md) | Flat object containing custom properties. Strings, numbers and booleans  are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size.  | [optional] 
**extra_channel_options** | [**ExtraChannelOptions**](ExtraChannelOptions.md) |  | [optional] 
**size** | **String** | The size to display a webview. Used for actions of type webview. | [optional] 
**fallback** | **String** | The fallback uri for channels that don’t support webviews. Used for actions of type webview. | 
**open_on_receive** | **Boolean** | Boolean value indicating if the webview should open automatically. Only one action per message can be set to true. Currently only supported on the Web Messenger. | [optional] 

## Code Sample

```ruby
require 'SunshineConversationsClient'

instance = SunshineConversationsClient::Webview.new(type: null,
                                 uri: null,
                                 text: null,
                                 default: null,
                                 metadata: {"lang":"en-ca"},
                                 extra_channel_options: null,
                                 size: null,
                                 fallback: null,
                                 open_on_receive: null)
```


Version data entries

50 entries across 50 versions & 1 rubygems

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