twitch-agent/TwitchEventSub/Types/ExtensionBitsTransaction.cs
Adam R. Grey 3f717df1d4 psuedoinitial
actually I had a previous repo but my dumb ass let the real appsettings sneak in
2021-10-24 01:13:07 -04:00

23 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.
}
}