Table of Contents

Class PubSubBitsBadgeUnlockData

Namespace
Firesplash.UnityAssets.TwitchIntegration.DataTypes.PubSub.EventData
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

int

ChannelId

The ID of the channel where the badge was unlocked

[JsonProperty("channel_id")]
public string ChannelId { get; }

Property Value

string

ChannelName

The name of the channel where the badge was unlocked

[JsonProperty("channel_name")]
public string ChannelName { get; }

Property Value

string

ChatMessage

[Optional] Custom message included with share - May be null.

[JsonProperty("chat_message")]
public string ChatMessage { get; }

Property Value

string

Time

Time when the new Bits badge was earned.

[JsonProperty("time")]
public DateTime Time { get; }

Property Value

DateTime

UserId

The ID of the twitch user who unlocked the badge

[JsonProperty("user_id")]
public string UserId { get; }

Property Value

string

UserName

The ID of the twitch user who unlocked the badge

[JsonProperty("user_name")]
public string UserName { get; }

Property Value

string