Skip to main content
Corvus Connection

On Charity Donation

TwitchTrigger
entry.onCharityDonationFires on a donation to the channel's charity campaign. Binds the charity, donor, and amount.Triggers on a charity-campaign donation.Requires the channel:read:charity scope.
FundraisingAlerts

Outputs

Name
Kind
Type
Flags
outExecexecNone
charityNameDataSystem.Stringmultiplexed
donorNameDataSystem.Stringmultiplexed
amountDataSystem.Decimalmultiplexed
currencyDataSystem.Stringmultiplexed

Bindings

Name
Type
Description
charityNameSystem.StringThe name of the charity.
donorNameSystem.StringThe donor's display name.
amountSystem.DecimalThe donation amount.
currencySystem.StringThe ISO currency code of the donation.

Parameters

Name
Type
Required
Default
Choices
cooldownSecondsSystem.Int32no0None
perUserCooldownSecondsSystem.Int32no0None
debounceMsSystem.Int32no0None
dedupeKeySystem.Stringno""None
maxConcurrencySystem.Int32no0None

Lowers to C#

[OnCharityDonation] Handle(ctx, CharityDonationContext e)