Class PubSubHypeTrainProgressEventData
- Assembly
- Firesplash.UnityAssets.TwitchIntegration.dll
The Payload for a Hype Train Progression
[Serializable]
public class PubSubHypeTrainProgressEventData : PubSubHypeTrainEventData
- Inheritance
-
PubSubHypeTrainProgressEventData
- Inherited Members
Properties
Action
The action the viewer performed to contribute to the train. e.g. CHEER
[JsonProperty("action")]
public string Action { get; }
Property Value
Quantity
The amount of "source" used to contribute to the hype
[JsonProperty("quantity")]
public int Quantity { get; }
Property Value
SequenceId
Likely this is the sequence number of the contribution, numbering all contributions one by one consecutively...
[JsonProperty("sequence_id")]
public int SequenceId { get; }
Property Value
Source
The source of hype e.g. BITS (can likely also be SUBSCRIPTION or something like that - As this is undocumented: You will have to elaborate. We'd love to get your feedback.)
[JsonProperty("source")]
public string Source { get; }
Property Value
UserId
The ID of the twitch user who just contributed to the train
[JsonProperty("user_id")]
public string UserId { get; }