Interface Contact
public interface Contact
A participant in a conversation typically representing a person. It is associated with a
collection of channel identities.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Contact.Builder
builder()
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.getId()
The ID of the contact.Get languageMetadata associated with the contact.
-
Method Details
-
getChannelIdentities
List<ChannelIdentity> getChannelIdentities()List of channel identities.- Returns:
- channelIdentities
-
getChannelPriority
List<ConversationChannel> getChannelPriority()List of channels defining the channel priority.- 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
-
getId
String getId()The ID of the contact.- Returns:
- id
-
getLanguage
ContactLanguage getLanguage()Get language- Returns:
- language
-
getMetadata
String getMetadata()Metadata associated with the contact. Up to 1024 characters long.- Returns:
- metadata
-
builder
Getting builder- Returns:
- New Builder instance
-