Class PubSubBitsBadgeUnlockData
- Assembly
- Firesplash.UnityAssets.TwitchIntegration.dll
The data contained in a bits badge unlock notice
[Serializable]
public class PubSubBitsBadgeUnlockData : PubSubEventMessageData
- Inheritance
-
PubSubBitsBadgeUnlockData
- Inherited Members
Properties
BadgeTier
Value of Bits badge tier that was earned (1000, 10000, etc.)
[JsonProperty("badge_tier")]
public int BadgeTier { get; }
Property Value
ChannelId
The ID of the channel where the badge was unlocked
[JsonProperty("channel_id")]
public string ChannelId { get; }
Property Value
ChannelName
The name of the channel where the badge was unlocked
[JsonProperty("channel_name")]
public string ChannelName { get; }
Property Value
ChatMessage
[Optional] Custom message included with share - May be null.
[JsonProperty("chat_message")]
public string ChatMessage { get; }
Property Value
Time
Time when the new Bits badge was earned.
[JsonProperty("time")]
public DateTime Time { get; }
Property Value
UserId
The ID of the twitch user who unlocked the badge
[JsonProperty("user_id")]
public string UserId { get; }
Property Value
UserName
The ID of the twitch user who unlocked the badge
[JsonProperty("user_name")]
public string UserName { get; }