| Name |
Type |
Description |
Notes |
| type |
ConversationType |
|
|
| participants |
List[ParticipantSubSchema] |
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 |
str |
A friendly name for the conversation, may be displayed to the business or the user. |
[optional] |
| description |
str |
A short text describing the conversation. |
[optional] |
| icon_url |
str |
A custom conversation icon url. The image must be in either JPG, PNG, or GIF format |
[optional] |
| metadata |
Dict[str, object] |
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] |
from sunshine_conversations_client.model.conversation_create_body import ConversationCreateBody
# TODO update the JSON string below
json = "{}"
# create an instance of ConversationCreateBody from a JSON string
conversation_create_body_instance = ConversationCreateBody.from_json(json)
# print the JSON string representation of the object
print(ConversationCreateBody.to_json())
# convert the object into a dict
conversation_create_body_dict = conversation_create_body_instance.to_dict()
# create an instance of ConversationCreateBody from a dict
conversation_create_body_from_dict = ConversationCreateBody.from_dict(conversation_create_body_dict)
[Back to Model list] [Back to API list] [Back to README]