Skip to content

Latest commit

 

History

History
36 lines (16 loc) · 1.33 KB

File metadata and controls

36 lines (16 loc) · 1.33 KB

SunshineConversationsClient.Author

Properties

Name Type Description Notes
type String The author type. Either "user" (representing the end user) or "business" (sent on behalf of the business).
subtypes [String] A string array that indicates the author's subtypes. Messages from "business" type with an "AI" subtype are generated by AI and a disclaimer is appended to the text of the message sent to the customer. For third-party channels, the disclaimer is applied for image, file, and text message types. Message with an "activity" subtype are generated by system activities. [optional]
userId String The id of the user. Only supported when `type` is user. [optional]
userExternalId String The externalId of the user. Only supported when `type` is user. [optional]
displayName String The display name of the message author. [optional]
avatarUrl String A custom message icon URL. The image must be JPG, PNG, or GIF format. [optional]

Enum: TypeEnum

  • business (value: "business")

  • user (value: "user")

Enum: [SubtypesEnum]

  • AI (value: "AI")

  • activity (value: "activity")