SunshineConversationsClient::Link
August 27, 2025 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | The type of action. | [default to 'link'] |
| uri | String | The action URI. This is the link that will be used in the clients 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 | Hash<String, Object> | 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 | [optional] |
Example
require 'sunshine-conversations-client'
instance = SunshineConversationsClient::Link.new(
type: null,
uri: null,
text: null,
default: null,
metadata: {"lang":"en-ca"},
extra_channel_options: null
)