Sha256: 7b009545f30d67324cd7be4b396be599808359aca1c21310cd3934ab3ec379f1

Contents?: true

Size: 1.64 KB

Versions: 2

Compression:

Stored size: 1.64 KB

Contents

# SmoochApi::Message

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_id** | **String** | The message ID, generated automatically. | 
**author_id** | **String** | The ID of the message's author. | 
**role** | **String** | The role of the individual posting the message. Can be either *appUser* or *appMaker*. | 
**type** | **String** | The message type. | 
**name** | **String** | The display name of the message author. | 
**text** | **String** | The message text. Required for text messages.  | 
**email** | **String** | The email address of the message author. | [optional] 
**avatar_url** | **String** | The URL of the desired message avatar image. | 
**received** | **Float** | The unix timestamp of the moment the message was received. | 
**media_url** | **String** | The mediaUrl for the message. Required for image/file messages.  | [optional] 
**media_type** | **String** | The mediaType for the message. Required for image/file messages.  | [optional] 
**metadata** | **Object** | Flat JSON object containing any custom properties associated with the message. | [optional] 
**items** | [**Array<MessageItem>**](MessageItem.md) | The items in the message list. Required for carousel and list messages.  | [optional] 
**actions** | [**Array<Action>**](Action.md) | The actions in the message. | [optional] 
**payload** | **String** | The payload of a reply action, if applicable. | [optional] 
**display_settings** | [**DisplaySettings**](DisplaySettings.md) | Settings to adjust the carousel layout. See [Display Settings](https://docs.smooch.io/rest/#display-settings). | [optional] 


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smooch-api-1.11.0 docs/Message.md
smooch-api-1.9.0 docs/Message.md