Class RTMStartRequest
java.lang.Object
com.slack.api.methods.request.rtm.RTMStartRequest
- All Implemented Interfaces:
SlackApiRequest
Deprecated.
Use `rtm.connect` API method instead
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.protected booleanDeprecated.booleanDeprecated.getToken()Deprecated.Authentication token.inthashCode()Deprecated.booleanDeprecated.Batch presence deliveries via subscription.booleanDeprecated.Set this to `true` to receive the locale for users and channels.booleanDeprecated.Returns MPIMs to the client in the API response.booleanDeprecated.Exclude latest timestamps for channels, groups, mpims, and ims.booleanDeprecated.Skip unread counts for each channel (improves performance).booleanDeprecated.Only deliver presence events when requested by subscription.booleanDeprecated.Return timestamp only for latest message object of each channel (improves performance).voidsetBatchPresenceAware(boolean batchPresenceAware) Deprecated.Batch presence deliveries via subscription.voidsetIncludeLocale(boolean includeLocale) Deprecated.Set this to `true` to receive the locale for users and channels.voidsetMpimAware(boolean mpimAware) Deprecated.Returns MPIMs to the client in the API response.voidsetNoLatest(boolean noLatest) Deprecated.Exclude latest timestamps for channels, groups, mpims, and ims.voidsetNoUnreads(boolean noUnreads) Deprecated.Skip unread counts for each channel (improves performance).voidsetPresenceSub(boolean presenceSub) Deprecated.Only deliver presence events when requested by subscription.voidsetSimpleLatest(boolean simpleLatest) Deprecated.Return timestamp only for latest message object of each channel (improves performance).voidDeprecated.Authentication token.toString()Deprecated.
-
Method Details
-
builder
Deprecated. -
getToken
Deprecated.Authentication token. Requires scope: `rtm:stream`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
isNoLatest
public boolean isNoLatest()Deprecated.Exclude latest timestamps for channels, groups, mpims, and ims. Automatically sets `no_unreads` to `1` -
isSimpleLatest
public boolean isSimpleLatest()Deprecated.Return timestamp only for latest message object of each channel (improves performance). -
isIncludeLocale
public boolean isIncludeLocale()Deprecated.Set this to `true` to receive the locale for users and channels. Defaults to `false` -
isPresenceSub
public boolean isPresenceSub()Deprecated.Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions). -
isNoUnreads
public boolean isNoUnreads()Deprecated.Skip unread counts for each channel (improves performance). -
isBatchPresenceAware
public boolean isBatchPresenceAware()Deprecated.Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching). -
isMpimAware
public boolean isMpimAware()Deprecated.Returns MPIMs to the client in the API response. -
setToken
Deprecated.Authentication token. Requires scope: `rtm:stream`- Specified by:
setTokenin interfaceSlackApiRequest
-
setNoLatest
public void setNoLatest(boolean noLatest) Deprecated.Exclude latest timestamps for channels, groups, mpims, and ims. Automatically sets `no_unreads` to `1` -
setSimpleLatest
public void setSimpleLatest(boolean simpleLatest) Deprecated.Return timestamp only for latest message object of each channel (improves performance). -
setIncludeLocale
public void setIncludeLocale(boolean includeLocale) Deprecated.Set this to `true` to receive the locale for users and channels. Defaults to `false` -
setPresenceSub
public void setPresenceSub(boolean presenceSub) Deprecated.Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions). -
setNoUnreads
public void setNoUnreads(boolean noUnreads) Deprecated.Skip unread counts for each channel (improves performance). -
setBatchPresenceAware
public void setBatchPresenceAware(boolean batchPresenceAware) Deprecated.Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching). -
setMpimAware
public void setMpimAware(boolean mpimAware) Deprecated.Returns MPIMs to the client in the API response. -
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-