AutomodMessageUpdate

data class AutomodMessageUpdate(val subscriptionType: String, val messageId: String, val timestamp: Instant, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val userId: String, val userLogin: String, val userName: String, val moderatorUserId: String, val moderatorUserLogin: String, val moderatorUserName: String, val chatMessageId: String, val message: ChatMessage, val category: String, val level: Int, val status: String, val heldAt: Instant, val fragments: List<MessageFragment>) : TwitchEvent

Twitch EventSub: automod.message.update

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, userId: String, userLogin: String, userName: String, moderatorUserId: String, moderatorUserLogin: String, moderatorUserName: String, chatMessageId: String, message: ChatMessage, category: String, level: Int, status: String, heldAt: Instant, fragments: List<MessageFragment>)

Properties

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

the automod category that flagged the message.

Link copied to clipboard

the ID of the held message.

Link copied to clipboard

the message fragments extracted from the message.

Link copied to clipboard

RFC3339 timestamp of when the message was held.

Link copied to clipboard
val level: Int

the automod level that triggered the hold.

Link copied to clipboard

the structured message content.

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 reviewed the message.

Link copied to clipboard

the login of the moderator who reviewed the message.

Link copied to clipboard

the display name of the moderator who reviewed the message.

Link copied to clipboard

the resolution status (e.g., "approved", "denied").

Link copied to clipboard
open override val subscriptionType: String

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

Link copied to clipboard
open override val timestamp: Instant

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

Link copied to clipboard

the user ID of the message sender.

Link copied to clipboard

the login of the message sender.

Link copied to clipboard

the display name of the message sender.