Created page with "{{#Invoke:ProtoFlux|GenerateUI |Name=Twitch Subscription Event |Category=Twitch |Inputs= [ ] |Outputs= [ {"Name": "OnSubscription", "Type": "Call"}, {"Name": "UserId", "Type": "String"}, {"Name": "DisplayName", "Type": "String"}, {"Name": "Message", "Type": "String"}, {"Name": "Months", "Type": "int"}, {"Name": "Plan", "Type": "SubscriptionPlan"}, {"Name": "IsResub", "Type": "bool"}, {"Name": "IsGifted", "Type": "bool"}, {"Name": "GiftedBy", "Type": "String"}, {"Name": "..." |
Added category: Twitch |
||
Line 67: | Line 67: | ||
Shows if the subscription was gifted from an anonymous Twitch user. | Shows if the subscription was gifted from an anonymous Twitch user. | ||
[[Category:ProtoFlux:Network:Twitch]] |
Latest revision as of 00:25, 1 April 2024
This node provides Twitch subscription information from a TwitchInterface.
Note that all outputs are generated on a new Twitch chat message, and will not display any information when connected to a display node.
OnSubscription (Call)
Fires on receiving a new Twitch subscription event.
UserId (String)
Outputs the Twitch Channel ID of the subscriber.
DisplayName (String)
Outputs the Twitch username of the subscriber.
Message (String)
Outputs the contents of the message as a text string.
Months (Int)
Shows how many months the subscriber has subscribed for.
Plan (SubscriptionPlan)
Shows the subscription plan type as a custom constant type called SubscriptionPlan.
IsResub (Bool)
Shows if the subscription is a re-subscription.
IsGifted (Bool)
Shows if the subscription was gifted from another Twitch user.
GiftedBy (String)
Shows the name of the Twitch user who gifted the subscription, if gifted.
IsAnonymous (Bool)
Shows if the subscription was gifted from an anonymous Twitch user.