Class RTMStartRequest.RTMStartRequestBuilder
java.lang.Object
com.slack.api.methods.request.rtm.RTMStartRequest.RTMStartRequestBuilder
- Enclosing class:
- RTMStartRequest
-
Method Summary
Modifier and TypeMethodDescriptionbatchPresenceAware(boolean batchPresenceAware) Batch presence deliveries via subscription.build()includeLocale(boolean includeLocale) Set this to `true` to receive the locale for users and channels.mpimAware(boolean mpimAware) Returns MPIMs to the client in the API response.noLatest(boolean noLatest) Exclude latest timestamps for channels, groups, mpims, and ims.noUnreads(boolean noUnreads) Skip unread counts for each channel (improves performance).presenceSub(boolean presenceSub) Only deliver presence events when requested by subscription.simpleLatest(boolean simpleLatest) Return timestamp only for latest message object of each channel (improves performance).Authentication token.toString()
-
Method Details
-
token
Authentication token. Requires scope: `rtm:stream`- Returns:
this.
-
noLatest
Exclude latest timestamps for channels, groups, mpims, and ims. Automatically sets `no_unreads` to `1`- Returns:
this.
-
simpleLatest
Return timestamp only for latest message object of each channel (improves performance).- Returns:
this.
-
includeLocale
Set this to `true` to receive the locale for users and channels. Defaults to `false`- Returns:
this.
-
presenceSub
Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions).- Returns:
this.
-
noUnreads
Skip unread counts for each channel (improves performance).- Returns:
this.
-
batchPresenceAware
Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching).- Returns:
this.
-
mpimAware
Returns MPIMs to the client in the API response.- Returns:
this.
-
build
-
toString
-