Class LivechatChatLogPath

  • All Implemented Interfaces:

    public class LivechatChatLogPath
    extends Path<java.util.LinkedHashMap<java.lang.String,ChatLog>>
    Chat log path definition

    Allows subscription to chat log broadcast updates and retrieval of the current chat event log. If there is nobody to listen this path it will not emit any broadcasts.

    See Also:
    • Method Detail

      • getData

        public java.util.LinkedHashMap<java.lang.String,ChatLog> getData()
        Description copied from class: Path
        Gets the path data in it's current state
        Specified by:
        getData in class Path<java.util.LinkedHashMap<java.lang.String,ChatLog>>
        path data pojo object
      • countMessages

        public int countMessages(ChatLog.Type... types)
        Counts the number of messages of the specified ChatLog.Type types in the chat log LivechatChatLogPath
        types - of the chat log messages to count
        count of the messages of specified types