Package com.slack.api.methods
Enum MethodsRateLimitTier
- All Implemented Interfaces:
Serializable,Comparable<MethodsRateLimitTier>,java.lang.constant.Constable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionassistant.threads.setStatus has the similar tier with chat.postMessage API.This method allows hundreds of requests per minute.This method allows hundreds of requests per minute.chat.postMessage has special rate limiting conditions.1+ per minute20+ per minute50+ per minute100+ per minute -
Method Summary
Modifier and TypeMethodDescriptionstatic Integerstatic MethodsRateLimitTierReturns the enum constant of this type with the specified name.static MethodsRateLimitTier[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Tier1
1+ per minuteAccess tier 1 methods infrequently. A small amount of burst behavior is tolerated.
-
Tier2
20+ per minuteMost methods allow at least 20 requests per minute, while allowing for occasional bursts of more requests.
-
Tier3
50+ per minuteTier 3 methods allow a larger number of requests and are typically attached to methods with paginating collections of conversations or users. Sporadic bursts are welcome.
-
Tier4
100+ per minuteEnjoy a large request quota for Tier 4 methods, including generous burst behavior.
-
SpecialTier_auth_test
This method allows hundreds of requests per minute. Use it as often as is reasonably required. -
SpecialTier_assistant_threads_setStatus
assistant.threads.setStatus has the similar tier with chat.postMessage API. -
SpecialTier_chat_postMessage
chat.postMessage has special rate limiting conditions. It will generally allow an app to post 1 message per second to a specific channel. There are limits governing your app's relationship with the entire workspace above that, limiting posting to several hundred messages per minute. Generous burst behavior is also granted. -
SpecialTier_chat_getPermalink
This method allows hundreds of requests per minute. Use it as often as is reasonably required.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getAllowedRequestsPerMinute
-