Interface CreateConversationRequest
public interface CreateConversationRequest
The conversation to create.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Getting builderFlag for whether this conversation is active.Get activeChannelgetAppId()The ID of the participating app.The ID of the participating contact.Arbitrary correlation ID related to the MT message set by the Conversation API user.Arbitrary data set by the Conversation API clients and/or provided in theconversation_metadatafield of a SendMessageRequest.
-
Method Details
-
getActive
Boolean getActive()Flag for whether this conversation is active.- Returns:
- active
-
getActiveChannel
ConversationChannel getActiveChannel()Get activeChannel- Returns:
- activeChannel
-
getAppId
String getAppId()The ID of the participating app.Field is required
- Returns:
- appId
-
getContactId
String getContactId()The ID of the participating contact.Field is required
- Returns:
- contactId
-
getMetadataJson
Object getMetadataJson()Arbitrary data set by the Conversation API clients and/or provided in theconversation_metadatafield of a SendMessageRequest. A valid JSON object.- Returns:
- metadataJson
-
getCorrelationId
String getCorrelationId()Arbitrary correlation ID related to the MT message set by the Conversation API user.- Returns:
- correlationId
-
builder
Getting builder- Returns:
- New Builder instance
-