HypeTrainBegin
data class HypeTrainBegin(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, val allTimeHighLevel: Int = 0, val allTimeHighTotal: Int = 0) : TwitchEvent
Twitch EventSub: channel.hype_train.begin v2
Points are earned from viewer contributions:
Bits: 1 bit = 1 point
Tier 1 sub: 500 points
Tier 2 sub: 1,000 points
Tier 3 sub: 2,500 points
Gift subs contribute at their respective tier's point value per recipient.
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, allTimeHighLevel: Int = 0, allTimeHighTotal: Int = 0)
Properties
Link copied to clipboard
the all-time highest level reached on this channel (v2).
Link copied to clipboard
the all-time highest total points on this channel (v2).
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.