Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 2.6 KB

File metadata and controls

22 lines (14 loc) · 2.6 KB

FileMessage

Properties

Name Type Description Notes
type String The type of message.
mediaUrl URI The URL for media, such as an image, attached to the message. <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>
mediaSize BigDecimal 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]
blockChatInput Boolean When set to true, the chat input will be disabled on supported client implementations when the message is the most recent one in the history. Can be used for guided flows or to temporarily disable the user's ability to send messages in the conversation. [optional]
htmlText String HTML text content of the message. Can be provided in place of `text`. Cannot be used with `markdownText`. If no `text` is provided, will be converted to `text` upon reception to be displayed on channels that do not support rich text. See rich text documentation for more information. [optional]
markdownText String Markdown text content of the message. Can be provided in place of `text`. Cannot be used with `htmlText`. Will be converted to `htmlText` upon reception. If converted `htmlText` exceeds 4096 characters, the message will be rejected. If no `text` is provided, will be converted to `text` upon reception to be displayed on channels that do not support rich text. See rich text documentation for more information. [optional]
attachmentId String An identifier used by Sunshine Conversations for internal purposes. [optional]