Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1023 Bytes

File metadata and controls

20 lines (14 loc) · 1023 Bytes

SunshineConversationsClient::AttachmentSchema

Properties

Name Type Description Notes
media_url String Uploaded attachment’s url. <aside class=&quot;notice&quot;><strong>Note:</strong> An authorization header is required to access the mediaUrl when private attachments are enabled. See configuring private attachments for messaging guide for more details.</aside> [optional]
media_type String Uploaded attachment's media type [optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::AttachmentSchema.new(
  media_url: https://smooch.io/rocks.smooch.media-dev/apps/5ec41c54fe13cc5ac404bedc/conversations/c616a583e4c240a871818541/TmYMVQUBNsQRItX4fKf4aC-T/Screen%20Shot%202020-09-02%20at%204.04.41%20PM.png,
  media_type: image/png
)