Class RTMStartRequest
- java.lang.Object
-
- com.slack.api.methods.request.rtm.RTMStartRequest
-
- All Implemented Interfaces:
SlackApiRequest
@Deprecated public class RTMStartRequest extends Object implements SlackApiRequest
Deprecated.Use `rtm.connect` API method instead- See Also:
- rtm.start
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RTMStartRequest.RTMStartRequestBuilder
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RTMStartRequest.RTMStartRequestBuilder
builder()
Deprecated.protected boolean
canEqual(Object other)
Deprecated.boolean
equals(Object o)
Deprecated.String
getToken()
Deprecated.Authentication token.int
hashCode()
Deprecated.boolean
isBatchPresenceAware()
Deprecated.Batch presence deliveries via subscription.boolean
isIncludeLocale()
Deprecated.Set this to `true` to receive the locale for users and channels.boolean
isMpimAware()
Deprecated.Returns MPIMs to the client in the API response.boolean
isNoLatest()
Deprecated.Exclude latest timestamps for channels, groups, mpims, and ims.boolean
isNoUnreads()
Deprecated.Skip unread counts for each channel (improves performance).boolean
isPresenceSub()
Deprecated.Only deliver presence events when requested by subscription.boolean
isSimpleLatest()
Deprecated.Return timestamp only for latest message object of each channel (improves performance).void
setBatchPresenceAware(boolean batchPresenceAware)
Deprecated.Batch presence deliveries via subscription.void
setIncludeLocale(boolean includeLocale)
Deprecated.Set this to `true` to receive the locale for users and channels.void
setMpimAware(boolean mpimAware)
Deprecated.Returns MPIMs to the client in the API response.void
setNoLatest(boolean noLatest)
Deprecated.Exclude latest timestamps for channels, groups, mpims, and ims.void
setNoUnreads(boolean noUnreads)
Deprecated.Skip unread counts for each channel (improves performance).void
setPresenceSub(boolean presenceSub)
Deprecated.Only deliver presence events when requested by subscription.void
setSimpleLatest(boolean simpleLatest)
Deprecated.Return timestamp only for latest message object of each channel (improves performance).void
setToken(String token)
Deprecated.Authentication token.String
toString()
Deprecated.
-
-
-
Method Detail
-
builder
public static RTMStartRequest.RTMStartRequestBuilder builder()
Deprecated.
-
getToken
public String getToken()
Deprecated.Authentication token. Requires scope: `rtm:stream`- Specified by:
getToken
in 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
public void setToken(String token)
Deprecated.Authentication token. Requires scope: `rtm:stream`- Specified by:
setToken
in 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.
-
canEqual
protected boolean canEqual(Object other)
Deprecated.
-
-