Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.23 KB

File metadata and controls

27 lines (20 loc) · 1.23 KB

SunshineConversationsClient::Link

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 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]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::Link.new(type: null,
                                 uri: null,
                                 text: null,
                                 default: null,
                                 metadata: {"lang":"en-ca"},
                                 extra_channel_options: null)