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 booleanbooleangetToken()Authentication token.inthashCode()booleanBatch presence deliveries via subscription.booleanOnly deliver presence events when requested by subscription.voidsetBatchPresenceAware(boolean batchPresenceAware) Batch presence deliveries via subscription.voidsetPresenceSub(boolean presenceSub) Only deliver presence events when requested by subscription.voidAuthentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `rtm:stream`- Specified by:
getTokenin 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:
setTokenin 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
-