docs/Content.md in sunshine-conversations-client-9.4.1 vs docs/Content.md in sunshine-conversations-client-9.4.2
- old
+ new
@@ -2,11 +2,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**type** | **String** | The type of message. | [default to 'location']
+**type** | **String** | The type of message. | [default to 'template']
**text** | **String** | The fallback text message used when location messages are not supported by the channel. | [optional] [readonly]
**actions** | [**Array<ActionSubset>**](ActionSubset.md) | An array of objects representing the actions associated with the message. The array length is limited by the third party channel. | [optional]
**items** | [**Array<Item>**](Item.md) | An array of objects representing the items associated with the message. Only present in carousel and list type messages. |
**display_settings** | [**CarouselMessageDisplaySettings**](CarouselMessageDisplaySettings.md) | | [optional]
**media_url** | **String** | The URL for media, such as an image, attached to the message. |
@@ -16,10 +16,11 @@
**block_chat_input** | **Boolean** | true if the message should block the chat input on Web Messenger. form message only. | [optional]
**fields** | [**Array<Field>**](Field.md) | Array of field objects that contain the submitted fields. |
**text_fallback** | **String** | A string containing the `label: value` of all fields, each separated by a newline character. | [optional] [readonly]
**coordinates** | [**LocationMessageCoordinates**](LocationMessageCoordinates.md) | |
**location** | [**LocationMessageLocation**](LocationMessageLocation.md) | | [optional]
+**template** | [**Object**](.md) | The whatsapp template message to send. For more information, consult the [guide](https://docs.smooch.io/guide/whatsapp#sending-message-templates). `schema` must be set to `whatsapp`. |
## Code Sample
```ruby
require 'SunshineConversationsClient'
@@ -35,9 +36,10 @@
alt_text: null,
block_chat_input: null,
fields: null,
text_fallback: null,
coordinates: null,
- location: null)
+ location: null,
+ template: null)
```