Class StreamSubscriptionResult

java.lang.Object
com.github.jamesnetherton.zulip.client.api.stream.StreamSubscriptionResult

public class StreamSubscriptionResult extends Object
Defines a Zulip stream subscription result.
  • Constructor Details

  • Method Details

    • getSubscribed

      public Map<String,List<String>> getSubscribed()
      Gets the streams that were subscribed to.
      Returns:
      Map of user ids and streams that they were subscribed to
    • getAlreadySubscribed

      public Map<String,List<String>> getAlreadySubscribed()
      Gets the streams that were already subscribed to.
      Returns:
      Map of user ids and streams that they were already subscribed to
    • getUnauthorized

      public List<String> getUnauthorized()
      Gets the streams that users were not authorized to subscribe to.
      Returns:
      Map of user ids and streams that they were not authorized to subscribe to