Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 869 Bytes

TextMessage.md

File metadata and controls

23 lines (16 loc) · 869 Bytes

SunshineConversationsClient::TextMessage

Properties

Name Type Description Notes
type String The type of message. [default to 'text']
text String The text content of the message. Optional only if actions are provided. [optional]
actions Array<Action> Array of message actions. [optional]
payload String The payload of a reply button response message. [optional]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::TextMessage.new(type: null,
                                 text: Hello!,
                                 actions: null,
                                 payload: null)