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:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    protected boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    Deprecated.
    Authentication token.
    int
    Deprecated.
     
    boolean
    Deprecated.
    Batch presence deliveries via subscription.
    boolean
    Deprecated.
    Set this to `true` to receive the locale for users and channels.
    boolean
    Deprecated.
    Returns MPIMs to the client in the API response.
    boolean
    Deprecated.
    Exclude latest timestamps for channels, groups, mpims, and ims.
    boolean
    Deprecated.
    Skip unread counts for each channel (improves performance).
    boolean
    Deprecated.
    Only deliver presence events when requested by subscription.
    boolean
    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
    Deprecated.
    Authentication token.
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

      public static RTMStartRequest.RTMStartRequestBuilder builder()
      Deprecated.
    • getToken

      public String getToken()
      Deprecated.
      Authentication token. Requires scope: `rtm:stream`
      Specified by:
      getToken in interface SlackApiRequest
      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 interface SlackApiRequest
    • 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

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object