Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.01 KB

File metadata and controls

25 lines (18 loc) · 1.01 KB

SunshineConversationsClient::ImageMessage

Properties

Name Type Description Notes
type String The type of message. [default to 'image']
media_url String The URL for media, such as an image, attached to the message.
alt_text String An optional description of the image for accessibility purposes. The field will be saved by default with the file name as the value. [optional]
text String The text content of the message. Optional only if actions are provided. [optional]
actions Array<Action> Array of message actions. [optional]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::ImageMessage.new(type: null,
                                 media_url: null,
                                 alt_text: null,
                                 text: null,
                                 actions: null)