Sha256: 1b4c6cb244918494af579d6f3ec1a55a1bbd655e9f2653cbd7d1b24f7a7e492f

Contents?: true

Size: 1.51 KB

Versions: 43

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

43 entries across 43 versions & 1 rubygems

Version Path
sunshine-conversations-client-12.2.0 docs/MessagePost.md
sunshine-conversations-client-12.1.0 docs/MessagePost.md
sunshine-conversations-client-12.0.0 docs/MessagePost.md
sunshine-conversations-client-11.0.0 docs/MessagePost.md
sunshine-conversations-client-10.0.1 docs/MessagePost.md
sunshine-conversations-client-10.0.0 docs/MessagePost.md
sunshine-conversations-client-9.15.0 docs/MessagePost.md
sunshine-conversations-client-9.14.1 docs/MessagePost.md
sunshine-conversations-client-9.14.0 docs/MessagePost.md
sunshine-conversations-client-9.13.0 docs/MessagePost.md
sunshine-conversations-client-9.12.0 docs/MessagePost.md
sunshine-conversations-client-9.11.0 docs/MessagePost.md
sunshine-conversations-client-9.10.0 docs/MessagePost.md
sunshine-conversations-client-9.9.0 docs/MessagePost.md
sunshine-conversations-client-9.8.0 docs/MessagePost.md
sunshine-conversations-client-9.7.0 docs/MessagePost.md
sunshine-conversations-client-9.6.0 docs/MessagePost.md
sunshine-conversations-client-9.5.7 docs/MessagePost.md
sunshine-conversations-client-9.5.6 docs/MessagePost.md
sunshine-conversations-client-9.4.6 docs/MessagePost.md