Sha256: 1d1fd83019407e7aca8d91974d800f19df4c3173c64154beebf2bcda4386c16b
Contents?: true
Size: 1.68 KB
Versions: 51
Compression:
Stored size: 1.68 KB
Contents
# SunshineConversationsClient::ConversationCreateBody ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | [**ConversationType**](ConversationType.md) | | **participants** | [**Array<ParticipantSubSchema>**](ParticipantSubSchema.md) | The users participating in the conversation. For `personal` conversations, this field is required with a length of exactly 1. For `sdkGroup` conversations, must have a length less than or equal to 10. Can be omitted to have a conversation with no participants if the type is `sdkGroup`. | [optional] **display_name** | **String** | A friendly name for the conversation, may be displayed to the business or the user. | [optional] **description** | **String** | A short text describing the conversation. | [optional] **icon_url** | **String** | A custom conversation icon url. The image must be in either JPG, PNG, or GIF format | [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] ## Code Sample ```ruby require 'SunshineConversationsClient' instance = SunshineConversationsClient::ConversationCreateBody.new(type: null, participants: null, display_name: My conversation, description: Conversation between Rogers and Carl., icon_url: https://www.gravatar.com/image.jpg, metadata: {"lang":"en-ca"}) ```
Version data entries
51 entries across 51 versions & 1 rubygems