AutomodTermsUpdate

data class AutomodTermsUpdate(val subscriptionType: String, val messageId: String, val timestamp: Instant, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val moderatorUserId: String, val moderatorUserLogin: String, val moderatorUserName: String, val action: String, val fromAutomod: Boolean, val terms: List<String>) : TwitchEvent

Twitch EventSub: automod.terms.update

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, moderatorUserId: String, moderatorUserLogin: String, moderatorUserName: String, action: String, fromAutomod: Boolean, terms: List<String>)

Properties

Link copied to clipboard

the action taken ("add_permitted", "remove_permitted", "add_blocked", "remove_blocked").

Link copied to clipboard

the broadcaster's user ID.

Link copied to clipboard

the broadcaster's login.

Link copied to clipboard

the broadcaster's display name.

Link copied to clipboard

whether the update originated from automod.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

Link copied to clipboard

the user ID of the moderator who updated the terms.

Link copied to clipboard

the login of the moderator who updated the terms.

Link copied to clipboard

the display name of the moderator who updated the terms.

Link copied to clipboard
open override val subscriptionType: String

The EventSub subscription type string (e.g. channel.follow).

Link copied to clipboard

the list of terms that were updated.

Link copied to clipboard
open override val timestamp: Instant

The Instant when the EventSub notification was sent, parsed from ISO-8601.