Class RTMConnectRequest

    • Method Detail

      • getToken

        public String getToken()
        Authentication token. Requires scope: `rtm:stream`
        Specified by:
        getToken in interface SlackApiRequest
        Returns:
        token string value or null
      • isPresenceSub

        public boolean isPresenceSub()
        Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions).
      • isBatchPresenceAware

        public boolean isBatchPresenceAware()
        Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching).
      • setToken

        public void setToken​(String token)
        Authentication token. Requires scope: `rtm:stream`
        Specified by:
        setToken in interface SlackApiRequest
      • setPresenceSub

        public void setPresenceSub​(boolean presenceSub)
        Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions).
      • setBatchPresenceAware

        public void setBatchPresenceAware​(boolean batchPresenceAware)
        Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching).
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object