HypeTrainCurrent
@Serializable
Represents a currently active Hype Train.
Constructors
Link copied to clipboard
constructor(id: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, level: Int, total: Int, progress: Int, goal: Int, topContributions: List<HypeTrainContribution> = emptyList(), sharedTrainParticipants: List<SharedTrainParticipant>? = null, startedAt: Instant, expiresAt: Instant, type: String, isSharedTrain: Boolean = false)
Properties
Link copied to clipboard
the broadcaster ID.
Link copied to clipboard
the broadcaster login.
Link copied to clipboard
the broadcaster display name.
Link copied to clipboard
indicates if the Hype Train is shared. When true, sharedTrainParticipants will contain the list of broadcasters the train is shared with.
Link copied to clipboard
@SerialName(value = "shared_train_participants")
a list containing the broadcasters participating in the shared Hype Train. null if the Hype Train is not shared.
Link copied to clipboard
the contributors with the most points contributed.