CharityDonate
data class CharityDonate(val subscriptionType: String, val messageId: String, val timestamp: Instant, val id: String, val campaignId: String, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val userId: String, val userLogin: String, val userName: String, val charityName: String, val charityDescription: String, val charityLogo: String, val charityWebsite: String, val amount: CurrencyAmount) : TwitchEvent
Constructors
Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, id: String, campaignId: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, userId: String, userLogin: String, userName: String, charityName: String, charityDescription: String, charityLogo: String, charityWebsite: String, amount: CurrencyAmount)
Properties
Link copied to clipboard
the donation amount (value, decimal_places, currency).
Link copied to clipboard
the broadcaster's user ID.
Link copied to clipboard
the broadcaster's login.
Link copied to clipboard
the broadcaster's display name.
Link copied to clipboard
the charity campaign ID.
Link copied to clipboard
the description of the charity.
Link copied to clipboard
the URL of the charity logo.
Link copied to clipboard
the name of the charity.
Link copied to clipboard
the website URL of the charity.
Link copied to clipboard
The EventSub subscription type string (e.g. channel.follow).