Interface CustomerChatSession

All Superinterfaces:
ChatSession

public interface CustomerChatSession extends ChatSession
CustomerChatSession represents the chat session of a customer.
Since:
11.21
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
     
  • Method Details

    • getCustomerName

      Optional<String> 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

      Optional<String> 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 the ExternalReceiverProvider.getToId() that was passed by the messenger connector.

      Returns:
      the customer messenger identifier if available or an empty optional otherwise
      Since:
      13.5