Interface ConversationParticipantInfo


public interface ConversationParticipantInfo
Interface defining the properties and behaviors of a conversation participant.
  • Method Details

    • getId

      String getId()
      Gets the ID of the participant.
      Returns:
      The participant's ID
    • getDisplayName

      String getDisplayName()
      Gets the display name of the participant.
      Returns:
      The participant's display name
    • getInitials

      String getInitials()
      Gets the initials derived from the participant's display name.
      Returns:
      The participant's initials
    • getAvatarUrl

      String getAvatarUrl()
      Gets the URL to the participant's avatar.
      Returns:
      The URL to the avatar
    • getAvatarBackgroundColor

      String getAvatarBackgroundColor()
      Gets the background color for the participant's avatar.
      Returns:
      The avatar background color
    • getParticipationType

      EConversationParticipationType getParticipationType()
      Gets the participation type for the participant.
      Returns:
      An enum value representing the participation type
    • getUsername

      String getUsername()
      Gets the unique username of the participant's person, if available.
      Returns:
      The participant's username
    • getAuthenticationRole

      String getAuthenticationRole()
      Gets the authentication role of the participant's person, if available (e.g., agent or visitor).
      Returns:
      The participant's authentication role
    • getSourceId

      String getSourceId()
      Gets the external source identifier associated with the participant's person, if available.
      Returns:
      The participant's source identifier
    • getEmail

      String getEmail()
      Gets the email address of the participant's person, if available.
      Returns:
      The participant's email address
    • getPhoneNumber

      String getPhoneNumber()
      Gets the phone number of the participant's person, if available.
      Returns:
      The participant's phone number
    • toString

      @NonNull String toString()
      Provides a string representation of the participant, typically for logging or display purposes.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the participant