Interface ConversationInfo


public interface ConversationInfo
Interface representing the information about a conversation.
  • Method Details

    • getId

      String getId()
      Returns the unique identifier for the conversation.
      Returns:
      A string representing the unique ID of the conversation.
    • getState

      EConversationState getState()
      Returns the current state of the conversation.
      Returns:
      An enum value representing the state of the conversation.
    • getRecipient

      Returns the type of recipient involved in the conversation.
      Returns:
      the ConversationRecipientInfo that represents the conversation recipient.
    • getCreationTimestamp

      Double getCreationTimestamp()
      Returns the UTC timestamp when the conversation was created.
      Returns:
      A Double representing the creation UTC timestamp, in ms, of the conversation.
    • getNotificationCount

      int getNotificationCount()
      Returns the number of notifications related to the conversation.
      Returns:
      An integer representing the number of unacknowledged notifications.
    • getTopic

      String getTopic()
      Returns the topic of the conversation, if any.
      Returns:
      A string representing the topic of the conversation or null if it doesn't have one.
    • getOtherParticipants

      List<ConversationParticipantInfo> getOtherParticipants()
      Returns a list of the other participants in the conversation.
      Returns:
      A list of ConversationParticipantInfo objects representing the other participants.
    • getMyParticipantType

      EConversationParticipationType getMyParticipantType()
      Returns the participation type of the current user in the conversation.
      Returns:
      An enum value indicating the user's participation type in the conversation.