Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.43 KB

ImageMessage.md

File metadata and controls

31 lines (24 loc) · 1.43 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.
media_type String The type of media. [optional] [readonly]
media_size Float The size of the media in bytes. [optional] [readonly]
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]
attachment_id String An identifier used by Sunshine Conversations for internal purposes. [optional]

Code Sample

require 'SunshineConversationsClient'

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