Name | Type | Description | Notes |
---|---|---|---|
type | String | The type of message. | [default to 'file'] |
mediaUrl | String | The URL for media, such as an image, attached to the message. <aside class="notice">Note that for private attachments an authorization header is required to access the mediaUrl. See <a href="https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/messaging_private_attachments/\">Configuring private attachments for messaging</a> guide for more details.</aside> | |
mediaSize | Number | The size of the media. | [optional] [readonly] |
mediaType | String | The media type of the file. | [optional] [readonly] |
altText | String | An optional description of the file 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] |
attachmentId | String | An identifier used by Sunshine Conversations for internal purposes. | [optional] |