twitch-agent/TwitchEventSub/Types/ExtensionBitsTransaction.cs

23 lines
1.2 KiB
C#
Raw Normal View History

namespace TwitchEventSub.Types
{
public class ExtensionBitsTransactionCreate : Event
{
public string extension_client_id { get; set; } //Client ID of the extension.
public string id { get; set; } //Transaction ID.
public string broadcaster_user_id { get; set; } //The transactions broadcaster ID.
public string broadcaster_user_login { get; set; } //The transactions broadcaster login.
public string broadcaster_user_name { get; set; } //The transactions broadcaster display name.
public string user_id { get; set; } //The transactions user ID.
public string user_login { get; set; } //The transactions user login.
public string user_name { get; set; } //The transactions user display name.
public ExtensionProduct product { get; set; } //Additional extension product information.
}
public class ExtensionProduct
{
public string name { get; set; }
public int bits { get; set; } //involved in the transaction
public string sku { get; set; } //Unique identifier for the product acquired.
public bool in_development { get; set; } //Flag indicating if the product is in development. If in_development is true, bits will be 0.
}
}