Package com.github.twitch4j.chat.util
Klasse TwitchChatLimitHelper
java.lang.Object
com.github.twitch4j.chat.util.TwitchChatLimitHelper
Utility class for retrieving standard rate limits for
TwitchChat- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final BandwidthKnown botsKnown botsstatic final Stringstatic final BandwidthUsers sending commands or messages to channels in which they have Moderator or Operator statusstatic final BandwidthAuthentication rate for usersstatic final BandwidthJoin rate for usersstatic final BandwidthUsers sending commands or messages to channels in which they do not have Moderator or Operator statusUsers (not bots)static final BandwidthAuthentication rate for verified botsstatic final BandwidthJoin rate for verified botsstatic final BandwidthVerified botsVerified botsstatic final Stringstatic final String -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic BucketcreateBucket(Bandwidth limit) Veraltet.in favor of BucketUtilsstatic BucketcreateBucket(Bandwidth... limits) Veraltet.in favor of BucketUtilsstatic BucketcreateBucket(Iterable<Bandwidth> limits) Veraltet.in favor of BucketUtils
-
Felddetails
-
MESSAGE_BANDWIDTH_ID
-
JOIN_BANDWIDTH_ID
-
AUTH_BANDWIDTH_ID
-
WHISPER_MINUTE_BANDWIDTH_ID
-
WHISPER_SECOND_BANDWIDTH_ID
-
USER_MESSAGE_LIMIT
Users sending commands or messages to channels in which they do not have Moderator or Operator status -
MOD_MESSAGE_LIMIT
Users sending commands or messages to channels in which they have Moderator or Operator status -
KNOWN_MESSAGE_LIMIT
Known bots -
VERIFIED_MESSAGE_LIMIT
Verified bots -
USER_WHISPER_LIMIT
Users (not bots)Note: this does not implement the target user count restriction.
-
KNOWN_WHISPER_LIMIT
Known botsNote: this does not implement the target user count restriction.
-
VERIFIED_WHISPER_LIMIT
Verified botsNote: this does not implement the target user count restriction.
Note: this only applies to legacy verified bots (pre July 2021)
-
USER_JOIN_LIMIT
Join rate for users -
VERIFIED_JOIN_LIMIT
Join rate for verified bots -
USER_AUTH_LIMIT
Authentication rate for users -
VERIFIED_AUTH_LIMIT
Authentication rate for verified bots
-
-
Methodendetails
-
createBucket
@Deprecated @ScheduledForRemoval(inVersion="2.0.0") public static Bucket createBucket(Bandwidth limit) Veraltet.in favor of BucketUtils- Parameter:
limit- bandwidth- Gibt zurück:
- bucket
-
createBucket
@Deprecated @ScheduledForRemoval(inVersion="2.0.0") public static Bucket createBucket(Bandwidth... limits) Veraltet.in favor of BucketUtils- Parameter:
limits- bandwidths- Gibt zurück:
- bucket
-
createBucket
@Deprecated @ScheduledForRemoval(inVersion="2.0.0") public static Bucket createBucket(Iterable<Bandwidth> limits) Veraltet.in favor of BucketUtils- Parameter:
limits- bandwidths- Gibt zurück:
- bucket
-