Class AutomodMessageUpdate
java.lang.Object
com.gmt2001.twitch.eventsub.EventSubSubscriptionType
com.gmt2001.twitch.eventsub.subscriptions.automod.message.AutomodMessage
com.gmt2001.twitch.eventsub.subscriptions.automod.message.AutomodMessageUpdate
- 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 notificationAutomodMessageUpdate(String broadcaster_user_id) ConstructorAutomodMessageUpdate(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 conditionsThe moderator's user login.The moderator's user display name.protected voidprotected EventSubSubscriptionCompiles the parameters of this object into anEventSubSubscriptionthat can be createdstatus()The new status of the held message, such as approved, denied, or expired.Methods 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- 
AutomodMessageUpdatepublic AutomodMessageUpdate()Only used by EventSub for handler registration
- 
AutomodMessageUpdateUsed byonEventSubInternalNotificationEvent(com.gmt2001.twitch.eventsub.EventSubInternalNotificationEvent)to construct an object from an incoming notification- Parameters:
- e- The event
 
- 
AutomodMessageUpdateConstructor- Parameters:
- broadcaster_user_id- The user id of the broadcaster
 
- 
AutomodMessageUpdateConstructor- 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:
 
- 
moderatorUserLoginThe moderator's user login.- Returns:
 
- 
moderatorUserNameThe moderator's user display name.- Returns:
 
- 
statusThe new status of the held message, such as approved, denied, or expired.- Returns:
 
 
-