Class RTMConnectRequest
- java.lang.Object
-
- com.slack.api.methods.request.rtm.RTMConnectRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class RTMConnectRequest extends Object implements SlackApiRequest
- See Also:
- rtm.connect
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RTMConnectRequest.RTMConnectRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RTMConnectRequest.RTMConnectRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getToken()
Authentication token.int
hashCode()
boolean
isBatchPresenceAware()
Batch presence deliveries via subscription.boolean
isPresenceSub()
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
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static RTMConnectRequest.RTMConnectRequestBuilder builder()
-
getToken
public String 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
public void setToken(String token)
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).
-
canEqual
protected boolean canEqual(Object other)
-
-