public class RTMStartRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
RTMStartRequest.RTMStartRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static RTMStartRequest.RTMStartRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getToken()
Authentication token.
|
int |
hashCode() |
boolean |
isBatchPresenceAware()
Batch presence deliveries via subscription.
|
boolean |
isIncludeLocale()
Set this to `true` to receive the locale for users and channels.
|
boolean |
isMpimAware()
Returns MPIMs to the client in the API response.
|
boolean |
isNoLatest()
Exclude latest timestamps for channels, groups, mpims, and ims.
|
boolean |
isNoUnreads()
Skip unread counts for each channel (improves performance).
|
boolean |
isPresenceSub()
Only deliver presence events when requested by subscription.
|
boolean |
isSimpleLatest()
Return timestamp only for latest message object of each channel (improves performance).
|
void |
setBatchPresenceAware(boolean batchPresenceAware)
Batch presence deliveries via subscription.
|
void |
setIncludeLocale(boolean includeLocale)
Set this to `true` to receive the locale for users and channels.
|
void |
setMpimAware(boolean mpimAware)
Returns MPIMs to the client in the API response.
|
void |
setNoLatest(boolean noLatest)
Exclude latest timestamps for channels, groups, mpims, and ims.
|
void |
setNoUnreads(boolean noUnreads)
Skip unread counts for each channel (improves performance).
|
void |
setPresenceSub(boolean presenceSub)
Only deliver presence events when requested by subscription.
|
void |
setSimpleLatest(boolean simpleLatest)
Return timestamp only for latest message object of each channel (improves performance).
|
void |
setToken(String token)
Authentication token.
|
String |
toString() |
public static RTMStartRequest.RTMStartRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic boolean isNoLatest()
public boolean isSimpleLatest()
public boolean isIncludeLocale()
public boolean isPresenceSub()
public boolean isNoUnreads()
public boolean isBatchPresenceAware()
public boolean isMpimAware()
public void setToken(String token)
public void setNoLatest(boolean noLatest)
public void setSimpleLatest(boolean simpleLatest)
public void setIncludeLocale(boolean includeLocale)
public void setPresenceSub(boolean presenceSub)
public void setNoUnreads(boolean noUnreads)
public void setBatchPresenceAware(boolean batchPresenceAware)
public void setMpimAware(boolean mpimAware)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.