Class RTMStartRequest

java.lang.Object
com.slack.api.methods.request.rtm.RTMStartRequest
All Implemented Interfaces:
SlackApiRequest

@Deprecated
public class RTMStartRequest
extends java.lang.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

    Modifier and Type Method Description
    static RTMStartRequest.RTMStartRequestBuilder builder()
    Deprecated.
     
    protected boolean canEqual​(java.lang.Object other)
    Deprecated.
     
    boolean equals​(java.lang.Object o)
    Deprecated.
     
    java.lang.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​(java.lang.String token)
    Deprecated.
    Authentication token.
    java.lang.String toString()
    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 java.lang.String getToken()
      Deprecated.
      Authentication token. Requires scope: `rtm:stream`
      Specified by:
      getToken in interface SlackApiRequest
    • 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​(java.lang.String token)
      Deprecated.
      Authentication token. Requires scope: `rtm:stream`
    • 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​(java.lang.Object o)
      Deprecated.
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
      Deprecated.
    • hashCode

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

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