Interface ContactCreateRequest
public interface ContactCreateRequest
A participant in a conversation typically representing a person. It is associated with a
collection of channel identities.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactCreateRequest.Builderbuilder()Getting builderList of channel identities.List of channels defining the channel priority.The display name.getEmail()Email of the contact.Contact identifier in an external system.Get languageMetadata associated with the contact.
-
Method Details
-
getChannelIdentities
List<ChannelIdentity> getChannelIdentities()List of channel identities. Array must contain at least one item.Field is required
- Returns:
- channelIdentities
-
getChannelPriority
List<ConversationChannel> getChannelPriority()List of channels defining the channel priority. The channel at the top of the list is tried first.- Returns:
- channelPriority
-
getDisplayName
String getDisplayName()The display name. A default 'Unknown' will be assigned if left empty.- Returns:
- displayName
-
getEmail
String getEmail()Email of the contact.- Returns:
-
getExternalId
String getExternalId()Contact identifier in an external system.- Returns:
- externalId
-
getLanguage
ContactLanguage getLanguage()Get languageField is required
- Returns:
- language
-
getMetadata
String getMetadata()Metadata associated with the contact. Up to 1024 characters long.- Returns:
- metadata
-
builder
Getting builder- Returns:
- New Builder instance
-