ChannelUpdate

data class ChannelUpdate(val subscriptionType: String, val messageId: String, val timestamp: Instant, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val title: String, val language: String, val categoryId: String, val categoryName: String, val contentClassificationLabels: List<String>) : TwitchEvent

Twitch EventSub: channel.update

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, title: String, language: String, categoryId: String, categoryName: String, contentClassificationLabels: List<String>)

Properties

Link copied to clipboard

the broadcaster's user ID.

Link copied to clipboard

the broadcaster's user login.

Link copied to clipboard

the broadcaster's user display name.

Link copied to clipboard

the channel's category ID.

Link copied to clipboard

the category name.

Link copied to clipboard

content classification label IDs currently applied on the channel.

Link copied to clipboard

the channel's broadcast language.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

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 channel's stream title.