ContentModel
Properties
Name | Type | Required | Description |
---|---|---|---|
attachments | List[ContentAttachment] | ✅ | An array containing the attachments that are attached to the content. |
author_identity_id | str | ✅ | Identity identifier of the author of content. Not mandatory on creation, by default it uses the token's user first identity on channel. |
auto_submitted | bool | ✅ | Auto submitted content: - won't reopen tasks or interventions - can be used to send automatic messages like asking an user to follow on twitter, sending a survey, etc, - doesn't get included in statistics |
body | str | ✅ | The content's body. On creation this field is mandatory except for WhatsApp content using templates. The following are the max length restrictions for the different channels supported. Channel and max length _ Apple Messages For Business (max length 10000) _ Email (max length 262144) _ RingCX Digital Messaging (max length 1024) _ Facebook (max length 8000) _ GoogleBusinessMessages (max length 3000) _ Google My Business (max length 4000) _ Instagram (max length 950) _ Instagram Messaging (max length 1000) _ LinkedIn (max length 3000) _ Messenger (max length 2000) _ Twitter (max length 280) _ Viber (max length 7000) _ WhatsApp (max length 3800) _ Youtube (max length 8000) |
body_formatted | ContentBodyFormatted | ✅ | Text and HTML formatted versions of the content body. |
body_input_format | ContentBodyInputFormat | ✅ | Values can be Text or Html. |
category_ids | List[str] | ✅ | List of the category identifiers of the content. |
creation_time | str | ✅ | Creation time of the resource. |
created_from | ContentCreatedFrom | ✅ | Created from of the content. |
creator_id | str | ✅ | RC user id of the creator |
id_ | str | ✅ | Identifier of the content. |
in_reply_to_author_identity_id | str | ✅ | The identity identifier of the content to which this content is a reply to. |
in_reply_to_content_id | str | ✅ | The content identifier to which this content is a reply to. On creation, if omitted, a new discussion will be created. If the channel does not support to initiate discussion this parameter is mandatory. |
intervention_id | str | ✅ | The intervention identifier of the content. |
language | str | ✅ | Language of the content. |
public | bool | ✅ | True if the content is publicly visible on the remote channel (default). Private content is NOT supported on every channel. |
published | bool | ✅ | True if the content is published on the remote channel. |
rating | int | ✅ | Rating of the content. Present only if the content supports rating and rating is filled. |
remotely_deleted | bool | ✅ | True if the content has been deleted on the remote channel. |
source_id | str | ✅ | Identifier of the channel. On creation if inReplyToContentId is specified, the channel will be determined from it. Otherwise, this parameter is mandatory. |
source_type | ContentSourceType | ✅ | Type of the channel. |
source_uri | str | ✅ | External Uri of the content channel. |
status | ContentStatus | ✅ | Content status. |
synchronization_status | str | ✅ | Synchronization status. |
synchronization_error | str | ✅ | Synchronization error details. |
thread_id | str | ✅ | Content thread identifier of the content. |
title | str | ✅ | Applicable to Email channels only. The subject of the email. This field is mandatory when initiating a discussion. |
type_ | ContentType | ✅ | Type of the content. |
last_modified_time | str | ✅ | The time when the last modification was completed. |
capabilities_supported | List[str] | ✅ | Types of structured messages that can be used to reply to this type of message. |
context_data | dict | ❌ | Additional data of the content. The contextData hash keys are the custom fields keys. |
foreign_categories | List[str] | ❌ | External categories of the content. Present only if the content has foreignCategories. |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs