Interface CustomerChatSession
- All Superinterfaces:
ChatSession
CustomerChatSession represents the chat session of a customer.
- Since:
- 11.21
-
Method Summary
Modifier and TypeMethodDescriptionGet an optional with the customer messenger identifier that was used when creating this customer chat session or an empty optional if no messenger identifier was used.
-
Method Details
-
getCustomerName
- Returns:
- the customer name of this chat session. The optional will be empty if the chat session has no customer name.
- Since:
- 11.21
-
getCustomerMessengerId
Get an optional with the customer messenger identifier that was used when creating this customer chat session or an empty optional if no messenger identifier was used.If this customer chat session was created for an incoming messenger message, this identifier is the
ExternalSenderProvider.getFromId()
that was passed by the messenger connector. If this customer chat session was created for an outgoing messenger message, this identifier is theExternalReceiverProvider.getToId()
that was passed by the messenger connector.- Returns:
- the customer messenger identifier if available or an empty optional otherwise
- Since:
- 13.5
-