HypeTrainProgress
data class HypeTrainProgress(val subscriptionType: String, val messageId: String, val timestamp: Instant, val id: String, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val total: Int, val progress: Int, val goal: Int, val topContributions: List<HypeTrainContribution>, val lastContribution: HypeTrainContribution?, val level: Int, val startedAt: Instant, val expiresAt: Instant, val isGoldenKappaTrain: Boolean = false) : TwitchEvent
Twitch EventSub: channel.hype_train.progress v2
See HypeTrainBegin for how points are calculated from bits and subscriptions.
Constructors
Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, id: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, total: Int, progress: Int, goal: Int, topContributions: List<HypeTrainContribution>, lastContribution: HypeTrainContribution?, level: Int, startedAt: Instant, expiresAt: Instant, isGoldenKappaTrain: Boolean = false)
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
whether the Hype Train is a Golden Kappa Train (v2).
Link copied to clipboard
the most recent contribution with user_id, type, and total.
Link copied to clipboard
The EventSub subscription type string (e.g. channel.follow).
Link copied to clipboard
the contributors with the most points, each with user_id, type, and total.