Class RoomEventResults


  • public class RoomEventResults
    extends Object
    Room events results.
    • Field Detail

      • count

        private Long count
        An approximate count of the total number of results found.
      • highlights

        private List<String> highlights
        List of words which should be highlighted, useful for stemming which may change the query terms.
      • results

        private List<Result> results
        List of results in the requested order.
      • state

        private Map<String,​List<Event>> state
        The current state for every room in the results. This is included if the request had the include_state key set with a value of true.

        The string key is the room ID for which the State Event array belongs to.

      • groups

        private Map<String,​Map<String,​GroupValue>> groups
        Any groups that were requested.

        The outer string key is the group key requested (eg: room_id or sender). The inner string key is the grouped value (eg: a room's ID or a user's ID).

      • nextBatch

        private String nextBatch
        Token that can be used to get the next batch of results, by passing as the next_batch parameter to the next call. If this field is absent, there are no more results.
    • Constructor Detail

      • RoomEventResults

        public RoomEventResults()