Uses of Class
com.github.jamesnetherton.zulip.client.api.stream.request.SubscribeStreamsApiRequest
Packages that use SubscribeStreamsApiRequest
Package
Description
-
Uses of SubscribeStreamsApiRequest in com.github.jamesnetherton.zulip.client.api.stream
Methods in com.github.jamesnetherton.zulip.client.api.stream that return SubscribeStreamsApiRequestModifier and TypeMethodDescriptionStreamService.subscribe
(StreamSubscriptionRequest... streamsToSubscribe) Subscribe to streams. -
Uses of SubscribeStreamsApiRequest in com.github.jamesnetherton.zulip.client.api.stream.request
Methods in com.github.jamesnetherton.zulip.client.api.stream.request that return SubscribeStreamsApiRequestModifier and TypeMethodDescriptionSubscribeStreamsApiRequest.withAnnounce
(boolean announce) Sets whether creation of the new stream should be announced.SubscribeStreamsApiRequest.withAuthorizationErrorsFatal
(boolean authorizationErrorsFatal) Sets whether authorization failures should result in a failure response.SubscribeStreamsApiRequest.withCanRemoveSubscribersGroup
(long userGroupID) Sets the user group id whose members are allowed to unsubscribe others from the stream.SubscribeStreamsApiRequest.withDefaultStream
(boolean defaultStream) Sets whether any newly created streams will be added as default streams for new users joining the organization.SubscribeStreamsApiRequest.withHistoryPublicToSubscribers
(boolean historyPublicToSubscribers) Sets whether the stream history is public to new subscribers.SubscribeStreamsApiRequest.withInviteOnly
(boolean inviteOnly) Sets whether a created stream will be private.SubscribeStreamsApiRequest.withMessageRetention
(int messageRetentionDays) Sets the number of days that message history should be retained.SubscribeStreamsApiRequest.withMessageRetention
(RetentionPolicy messageRetentionPolicy) Sets the message retention policy of a stream.SubscribeStreamsApiRequest.withPrincipals
(long... userIds) Sets the list of users that are to be subscribed to the stream.SubscribeStreamsApiRequest.withPrincipals
(String... emailAddresses) Sets the list of users that are to be subscribed to the stream.SubscribeStreamsApiRequest.withStreamPostPolicy
(StreamPostPolicy policy) Sets the policy for which users can post messages to the stream.SubscribeStreamsApiRequest.withWebPublic
(boolean webPublic) Sets whether any newly created streams will be web-public streams.