docs/MessagePost.md in sunshine-conversations-client-9.4.1 vs docs/MessagePost.md in sunshine-conversations-client-9.4.2

- old
+ new

@@ -7,11 +7,11 @@ **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] -**message_schema** | **String** | Send WhatsApp Message Templates using \"whatsapp\", while populating the message key using the native [WhatsApp schema](https://developers.facebook.com/docs/whatsapp/api/messages/message-templates). When the `messageSchema` is specified, the message is automatically converted to the Sunshine Conversations schema to be stored in the conversation record. The Sunshine Conversations message schema is also used in the API response. Go to [Post Message API](https://docs.smooch.io/guide/whatsapp/#post-message-api) to view an example. | [optional] +**schema** | **String** | When the `schema` is set to `whatsapp`, the message is automatically converted to the Sunshine Conversations schema to be stored in the conversation record. The Sunshine Conversations message schema is also used in the API response. Go to [Post Message API](https://docs.smooch.io/guide/whatsapp/#post-message-api) to view an example. | [optional] ## Code Sample ```ruby require 'SunshineConversationsClient' @@ -19,9 +19,9 @@ instance = SunshineConversationsClient::MessagePost.new(author: null, content: null, destination: null, metadata: {"lang":"en-ca"}, override: null, - message_schema: whatsapp) + schema: whatsapp) ```