CharityCampaignProgress

data class CharityCampaignProgress(val subscriptionType: String, val messageId: String, val timestamp: Instant, val id: String, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val charityName: String, val charityDescription: String, val charityLogo: String, val charityWebsite: String, val currentAmount: CurrencyAmount, val targetAmount: CurrencyAmount) : TwitchEvent

Twitch EventSub: channel.charity_campaign.progress

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, id: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, charityName: String, charityDescription: String, charityLogo: String, charityWebsite: String, currentAmount: CurrencyAmount, targetAmount: CurrencyAmount)

Properties

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 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 current raised amount (value, decimal_places, currency).

Link copied to clipboard
val id: String

the charity campaign ID.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

Link copied to clipboard
open override val subscriptionType: String

The EventSub subscription type string (e.g. channel.follow).

Link copied to clipboard

the target amount (value, decimal_places, currency).

Link copied to clipboard
open override val timestamp: Instant

The Instant when the EventSub notification was sent, parsed from ISO-8601.