Sha256: 1b4c6cb244918494af579d6f3ec1a55a1bbd655e9f2653cbd7d1b24f7a7e492f

Contents?: true

Size: 1.51 KB

Versions: 44

Compression:

Stored size: 1.51 KB

Contents

# SunshineConversationsClient::MessagePost

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**author** | [**Author**](Author.md) | The author of the message. | 
**content** | [**Content**](Content.md) | The content of the message. | 
**destination** | [**Destination**](Destination.md) |  | [optional] 
**metadata** | [**Object**](.md) | 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**](MessageOverride.md) |  | [optional] 
**schema** | **String** | When `schema` is set to `\"whatsapp\"`, the `content` key is expected to conform to the [native WhatsApp schema](https://developers.facebook.com/docs/whatsapp/api/messages/message-templates) for sending message templates. For more details, consult the documentation for [sending message templates on WhatsApp](https://docs.smooch.io/guide/whatsapp/#sending-message-templates).  | [optional] 

## Code Sample

```ruby
require 'SunshineConversationsClient'

instance = SunshineConversationsClient::MessagePost.new(author: null,
                                 content: null,
                                 destination: null,
                                 metadata: {"lang":"en-ca"},
                                 override: null,
                                 schema: whatsapp)
```


Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
sunshine-conversations-client-9.4.6 docs/MessagePost.md
sunshine-conversations-client-9.4.5 docs/MessagePost.md
sunshine-conversations-client-9.4.4 docs/MessagePost.md
sunshine-conversations-client-9.4.3 docs/MessagePost.md