Interface CapabilityEventNotification
public interface CapabilityEventNotification
CapabilityEventNotification
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builderstatic class
Status indicating the recipient's capability on the channel. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Getting builderStatus indicating the recipient's capability on the channel.Get channelWhen capability_status is set to CAPABILITY_PARTIAL, this field includes a list of the supported channel-specific capabilities reported by the channel.The ID of the contact.The channel identity.Get reasonID generated when submitting the capability request.
-
Method Details
-
getRequestId
String getRequestId()ID generated when submitting the capability request. Can be used to detect duplicates.- Returns:
- requestId
-
getContactId
String getContactId()The ID of the contact.- Returns:
- contactId
-
getChannel
ConversationChannel getChannel()Get channel- Returns:
- channel
-
getIdentity
String getIdentity()The channel identity. For example, a phone number for SMS, WhatsApp, and Viber Business.- Returns:
- identity
-
getCapabilityStatus
CapabilityEventNotification.CapabilityStatusEnum getCapabilityStatus()Status indicating the recipient's capability on the channel.- Returns:
- capabilityStatus
-
getChannelCapabilities
When capability_status is set to CAPABILITY_PARTIAL, this field includes a list of the supported channel-specific capabilities reported by the channel.- Returns:
- channelCapabilities
-
getReason
Reason getReason()Get reason- Returns:
- reason
-
builder
Getting builder- Returns:
- New Builder instance
-