Interface RateLimits
public interface RateLimits
RateLimits
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RateLimits.Builder
builder()
Getting builderThe number of inbound messages/events we process per second, from underlying channels to the app.The number of messages/events we process per second, from the app to the underlying channels.The rate limit of callbacks sent to the webhooks registered for the app.
-
Method Details
-
getInbound
Long getInbound()The number of inbound messages/events we process per second, from underlying channels to the app. The default rate limit is 25.- Returns:
- inbound
- Read Only
- This field is returned by the server and cannot be modified
-
getOutbound
Long getOutbound()The number of messages/events we process per second, from the app to the underlying channels. Note that underlying channels may have other rate limits. The default rate limit is 25.- Returns:
- outbound
- Read Only
- This field is returned by the server and cannot be modified
-
getWebhooks
Long getWebhooks()The rate limit of callbacks sent to the webhooks registered for the app. Note that if you have multiple webhooks with shared triggers, multiple callbacks will be sent out for each triggering event. The default rate limit is 25.- Returns:
- webhooks
- Read Only
- This field is returned by the server and cannot be modified
-
builder
Getting builder- Returns:
- New Builder instance
-