Class RTMConnectRequest
java.lang.Object
com.slack.api.methods.request.rtm.RTMConnectRequest
- All Implemented Interfaces:
SlackApiRequest
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getToken()
Authentication token.int
hashCode()
boolean
Batch presence deliveries via subscription.boolean
Only deliver presence events when requested by subscription.void
setBatchPresenceAware
(boolean batchPresenceAware) Batch presence deliveries via subscription.void
setPresenceSub
(boolean presenceSub) Only deliver presence events when requested by subscription.void
Authentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `rtm:stream`- Specified by:
getToken
in interfaceSlackApiRequest
- 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
Authentication token. Requires scope: `rtm:stream`- Specified by:
setToken
in interfaceSlackApiRequest
-
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). -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-