Class AutomodMessageHold
java.lang.Object
com.gmt2001.twitch.eventsub.EventSubSubscriptionType
com.gmt2001.twitch.eventsub.subscriptions.automod.message.AutomodMessage
com.gmt2001.twitch.eventsub.subscriptions.automod.message.AutomodMessageHold
- All Implemented Interfaces:
- Flow.Subscriber<EventSubInternalEvent>
- 
Field SummaryFieldsFields inherited from class com.gmt2001.twitch.eventsub.EventSubSubscriptionTypeflowsubscription, messageId, messageTimestamp, subscription
- 
Constructor SummaryConstructorsConstructorDescriptionOnly used by EventSub for handler registrationUsed byonEventSubInternalNotificationEvent(com.gmt2001.twitch.eventsub.EventSubInternalNotificationEvent)to construct an object from an incoming notificationAutomodMessageHold(String broadcaster_user_id) ConstructorAutomodMessageHold(String broadcaster_user_id, String moderator_user_id) Constructor
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanisMatch(EventSubSubscription subscription) Returns true if the provided subscription is an instance of the current subscription type and matches the current subscription conditionsprotected voidprotected EventSubSubscriptionCompiles the parameters of this object into anEventSubSubscriptionthat can be createdMethods inherited from class com.gmt2001.twitch.eventsub.subscriptions.automod.message.AutomodMessagebroadcasterUserId, broadcasterUserLogin, broadcasterUserName, category, heldAt, heldAtString, level, message, messageId, moderatorUserId, userId, userLogin, userName, validateParametersMethods inherited from class com.gmt2001.twitch.eventsub.EventSubSubscriptionTypecreate, delete, deleteAll, findMatchingSubscriptionId, findMatchingSubscriptionIds, getExistingSubscription, isAlreadySubscribed, messageTimestamp, onComplete, onError, onEventSubInternalEvent, onEventSubInternalRevocationEvent, onEventSubInternalVerificationEvent, onNext, onSubscribe, proposeSubscriptionInternal, proposeTransport, subscribe, subscription
- 
Field Details- 
TYPE- See Also:
 
- 
VERSION- See Also:
 
 
- 
- 
Constructor Details- 
AutomodMessageHoldpublic AutomodMessageHold()Only used by EventSub for handler registration
- 
AutomodMessageHoldUsed byonEventSubInternalNotificationEvent(com.gmt2001.twitch.eventsub.EventSubInternalNotificationEvent)to construct an object from an incoming notification- Parameters:
- e- The event
 
- 
AutomodMessageHoldConstructor- Parameters:
- broadcaster_user_id- The user id of the broadcaster
 
- 
AutomodMessageHoldConstructor- Parameters:
- broadcaster_user_id- The user id of the broadcaster
- moderator_user_id- The ID of the moderator of the channel you want to get notifications for. If you have authorization from the broadcaster rather than a moderator, specify the broadcaster's user ID here
 
 
- 
- 
Method Details- 
proposeSubscriptionDescription copied from class:EventSubSubscriptionTypeCompiles the parameters of this object into anEventSubSubscriptionthat can be created- Specified by:
- proposeSubscriptionin class- EventSubSubscriptionType
- Returns:
 
- 
onEventSubInternalNotificationEvent- Overrides:
- onEventSubInternalNotificationEventin class- EventSubSubscriptionType
 
- 
isMatchDescription copied from class:EventSubSubscriptionTypeReturns true if the provided subscription is an instance of the current subscription type and matches the current subscription conditions- Specified by:
- isMatchin class- EventSubSubscriptionType
- Returns:
 
 
-