Class PubSubCommerceEventData
- Assembly
- Firesplash.UnityAssets.TwitchIntegration.dll
The data delivered by a commerce event
[Serializable]
public class PubSubCommerceEventData : PubSubEventMessageData
- Inheritance
-
PubSubCommerceEventData
- Inherited Members
Properties
ChannelId
The id of the channel where the transaction has been made
[JsonProperty("channel_id")]
public string ChannelId { get; }
Property Value
ChannelName
The name of the channel where the transaction has been made
[JsonProperty("channel_name")]
public string ChannelName { get; }
Property Value
DisplayName
The display name of the user who made a transaction
[JsonProperty("display_name")]
public string DisplayName { get; }
Property Value
ItemDescription
The description of the item which was bought by the user
[JsonProperty("item_description")]
public string ItemDescription { get; }
Property Value
ItemImageUrl
The URL to an image of the item which was bought by the user
[JsonProperty("item_image_url")]
public string ItemImageUrl { get; }
Property Value
PurchaseMessage
The Umessage given by the user when the commerce was fulfilled. May contain emotes.
[JsonProperty("purchase_message")]
public PubSubEventChatMessage PurchaseMessage { get; }
Property Value
SupportsChannel
If the transaction supports the channel
[JsonProperty("supports_channel")]
public bool SupportsChannel { get; }
Property Value
Time
The time when the transaction was made
[JsonProperty("time")]
public DateTime Time { get; }
Property Value
UserId
The id of the user who made a transaction
[JsonProperty("user_id")]
public string UserId { get; }
Property Value
UserName
The login name of the user who made a transaction
[JsonProperty("user_name")]
public string UserName { get; }