Name | Type | Description | Notes |
---|---|---|---|
author | Author | The author of the message. | |
content | Content | The content of the message. | |
destination | Destination | [optional] | |
metadata | Object | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional] |
override | MessageOverride | [optional] | |
schema | String | When `schema` is set to `"whatsapp"`, the `content` key is expected to conform to the native WhatsApp schema for sending message templates. For more details, consult the documentation for sending message templates on WhatsApp. | [optional] |
require 'SunshineConversationsClient'
instance = SunshineConversationsClient::MessagePost.new(author: null,
content: null,
destination: null,
metadata: {"lang":"en-ca"},
override: null,
schema: whatsapp)