RingCentral .Net SDK
Public Member Functions | Properties | List of all members
RingCentral.ContentModel Class Reference

Public Member Functions

 [instance initializer]
 True if the content is publicly visible on the remote channel (default). Private content is NOT supported on every channel. Required Default: true More...
 

Properties

ContentAttachment[] attachments [get, set]
 An array containing the attachments that are attached to the content. Required More...
 
string authorIdentityId [get, set]
 Identity identifier of the author of content. Not mandatory on creation, by default it uses the token's user first identity on channel. Required Example: 541014e17aa58d8ccf000023 More...
 
bool? autoSubmitted [get, set]
 Auto submitted content: More...
 
string body [get, set]
 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 More...
 
ContentBodyFormatted bodyFormatted [get, set]
 Required More...
 
string bodyInputFormat [get, set]
 Values can be Text or Html. Required Enum: Text, Html More...
 
string[] categoryIds [get, set]
 List of the category identifiers of the content. Required Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf002023 More...
 
ContentContextData contextData [get, set]
 
string creationTime [get, set]
 Creation time of the resource. Required Format: date-time Example: 2023-02-04T12:43:07Z More...
 
string createdFrom [get, set]
 Created from of the content. Required Enum: Synchronizer, Interface, Api, AutoSurvey, AutoResponseTrigger, AutoRequestEmail More...
 
string creatorId [get, set]
 RC user id of the creator Required Example: 2683222036 More...
 
string[] foreignCategories [get, set]
 External categories of the content. Present only if the content has foreignCategories. Example: foreign_category_id More...
 
string id [get, set]
 Identifier of the content. Required Example: 541014e17aa58d8ccf000023 More...
 
string inReplyToAuthorIdentityId [get, set]
 The identity identifier of the content to which this content is a reply to. Required Example: 541014e17asdd8ccf000023 More...
 
string inReplyToContentId [get, set]
 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. Required Example: 123414e17asdd8ccf000023 More...
 
string interventionId [get, set]
 The intervention identifier of the content. Required Example: 123415437asdd8ccf000023 More...
 
string language [get, set]
 Language of the content. Required Example: En More...
 
bool? published [get, set]
 True if the content is published on the remote channel. Required Example: true More...
 
long? rating [get, set]
 Rating of the content. Present only if the content supports rating and rating is filled. Required Format: int32 Example: 4 More...
 
bool? remotelyDeleted [get, set]
 True if the content has been deleted on the remote channel. Required More...
 
string sourceId [get, set]
 Identifier of the channel. On creation if inReplyToContentId is specified, the channel will be determined from it. Otherwise, this parameter is mandatory. Required Example: fff415437asdd8ccf000023 More...
 
string sourceType [get, set]
 Type of the channel. Required Enum: AppleMessagesForBusiness, Email, EngageMessaging, Facebook, GoogleBusinessMessages, GoogleMyBusiness, Instagram, InstagramMessaging, Linkedin, Messenger, Twitter, Viber, WhatsApp, Youtube More...
 
string sourceUri [get, set]
 External Uri of the content channel. Required Format: uri More...
 
string status [get, set]
 Content status. Required Enum: New, Assigned, Replied, UserReply, UserInitiated, Ignored More...
 
string synchronizationStatus [get, set]
 Synchronization status. Required Example: success More...
 
string synchronizationError [get, set]
 Synchronization error details. Required More...
 
string threadId [get, set]
 Content thread identifier of the content. Required More...
 
string title [get, set]
 Applicable to Email channels only. The subject of the email. This field is mandatory when initiating a discussion. Required Example: An email title More...
 
string type [get, set]
 Type of the content. Required Example: Email Enum: Album, AuthenticateMessage, AuthenticateResponse, Carousel, CarouselMessage, Comment, ContactMessage, Content, Email, FormMessage, FormResponse, HsmMessage, Link, ListMessage, Media, Message, OutboundMessage, PaymentMessage, Photo, PostbackMessage, PrivateTweet, PromptMessage, Question, Review, ReviewResponse, RichLinkMessage, SelectMessage, Status, TemplateMessage, TimePickerMessage, Tweet, Video, VideoCallRequestMessage More...
 
string lastModifiedTime [get, set]
 The time when the last modification was completed. Required Format: date-time Example: 2023-02-04T12:43:07Z More...
 
string[] capabilitiesSupported [get, set]
 Types of structured messages that can be used to reply to this type of message. Required More...
 

Member Function Documentation

◆ [instance initializer]()

RingCentral.ContentModel.[instance initializer]
inline

True if the content is publicly visible on the remote channel (default). Private content is NOT supported on every channel. Required Default: true

Property Documentation

◆ attachments

ContentAttachment [] RingCentral.ContentModel.attachments
getset

An array containing the attachments that are attached to the content. Required

◆ authorIdentityId

string RingCentral.ContentModel.authorIdentityId
getset

Identity identifier of the author of content. Not mandatory on creation, by default it uses the token's user first identity on channel. Required Example: 541014e17aa58d8ccf000023

◆ autoSubmitted

bool? RingCentral.ContentModel.autoSubmitted
getset

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 Required

◆ body

string RingCentral.ContentModel.body
getset

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) Required Example: Body of the content

◆ bodyFormatted

ContentBodyFormatted RingCentral.ContentModel.bodyFormatted
getset

Required

◆ bodyInputFormat

string RingCentral.ContentModel.bodyInputFormat
getset

Values can be Text or Html. Required Enum: Text, Html

◆ capabilitiesSupported

string [] RingCentral.ContentModel.capabilitiesSupported
getset

Types of structured messages that can be used to reply to this type of message. Required

◆ categoryIds

string [] RingCentral.ContentModel.categoryIds
getset

List of the category identifiers of the content. Required Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf002023

◆ contextData

ContentContextData RingCentral.ContentModel.contextData
getset

◆ createdFrom

string RingCentral.ContentModel.createdFrom
getset

Created from of the content. Required Enum: Synchronizer, Interface, Api, AutoSurvey, AutoResponseTrigger, AutoRequestEmail

◆ creationTime

string RingCentral.ContentModel.creationTime
getset

Creation time of the resource. Required Format: date-time Example: 2023-02-04T12:43:07Z

◆ creatorId

string RingCentral.ContentModel.creatorId
getset

RC user id of the creator Required Example: 2683222036

◆ foreignCategories

string [] RingCentral.ContentModel.foreignCategories
getset

External categories of the content. Present only if the content has foreignCategories. Example: foreign_category_id

◆ id

string RingCentral.ContentModel.id
getset

Identifier of the content. Required Example: 541014e17aa58d8ccf000023

◆ inReplyToAuthorIdentityId

string RingCentral.ContentModel.inReplyToAuthorIdentityId
getset

The identity identifier of the content to which this content is a reply to. Required Example: 541014e17asdd8ccf000023

◆ inReplyToContentId

string RingCentral.ContentModel.inReplyToContentId
getset

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. Required Example: 123414e17asdd8ccf000023

◆ interventionId

string RingCentral.ContentModel.interventionId
getset

The intervention identifier of the content. Required Example: 123415437asdd8ccf000023

◆ language

string RingCentral.ContentModel.language
getset

Language of the content. Required Example: En

◆ lastModifiedTime

string RingCentral.ContentModel.lastModifiedTime
getset

The time when the last modification was completed. Required Format: date-time Example: 2023-02-04T12:43:07Z

◆ published

bool? RingCentral.ContentModel.published
getset

True if the content is published on the remote channel. Required Example: true

◆ rating

long? RingCentral.ContentModel.rating
getset

Rating of the content. Present only if the content supports rating and rating is filled. Required Format: int32 Example: 4

◆ remotelyDeleted

bool? RingCentral.ContentModel.remotelyDeleted
getset

True if the content has been deleted on the remote channel. Required

◆ sourceId

string RingCentral.ContentModel.sourceId
getset

Identifier of the channel. On creation if inReplyToContentId is specified, the channel will be determined from it. Otherwise, this parameter is mandatory. Required Example: fff415437asdd8ccf000023

◆ sourceType

string RingCentral.ContentModel.sourceType
getset

Type of the channel. Required Enum: AppleMessagesForBusiness, Email, EngageMessaging, Facebook, GoogleBusinessMessages, GoogleMyBusiness, Instagram, InstagramMessaging, Linkedin, Messenger, Twitter, Viber, WhatsApp, Youtube

◆ sourceUri

string RingCentral.ContentModel.sourceUri
getset

External Uri of the content channel. Required Format: uri

◆ status

string RingCentral.ContentModel.status
getset

Content status. Required Enum: New, Assigned, Replied, UserReply, UserInitiated, Ignored

◆ synchronizationError

string RingCentral.ContentModel.synchronizationError
getset

Synchronization error details. Required

◆ synchronizationStatus

string RingCentral.ContentModel.synchronizationStatus
getset

Synchronization status. Required Example: success

◆ threadId

string RingCentral.ContentModel.threadId
getset

Content thread identifier of the content. Required

◆ title

string RingCentral.ContentModel.title
getset

Applicable to Email channels only. The subject of the email. This field is mandatory when initiating a discussion. Required Example: An email title

◆ type

string RingCentral.ContentModel.type
getset

Type of the content. Required Example: Email Enum: Album, AuthenticateMessage, AuthenticateResponse, Carousel, CarouselMessage, Comment, ContactMessage, Content, Email, FormMessage, FormResponse, HsmMessage, Link, ListMessage, Media, Message, OutboundMessage, PaymentMessage, Photo, PostbackMessage, PrivateTweet, PromptMessage, Question, Review, ReviewResponse, RichLinkMessage, SelectMessage, Status, TemplateMessage, TimePickerMessage, Tweet, Video, VideoCallRequestMessage


The documentation for this class was generated from the following file: