Skip to main content
Corvus Connection

On Charity Donation

Twitch
Trigger
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
out
Exec
exec
None
charityName
Data
System.String
multiplexed
donorName
Data
System.String
multiplexed
amount
Data
System.Decimal
multiplexed
currency
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    charityName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    donorName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    amount
    Kind
    Data
    Type
    System.Decimal
    Flags
    multiplexed
  • Name
    currency
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Bindings

Name
Type
Description
charityName
System.String
The name of the charity.
donorName
System.String
The donor's display name.
amount
System.Decimal
The donation amount.
currency
System.String
The ISO currency code of the donation.
  • Name
    charityName
    Type
    System.String
    Description
    The name of the charity.
  • Name
    donorName
    Type
    System.String
    Description
    The donor's display name.
  • Name
    amount
    Type
    System.Decimal
    Description
    The donation amount.
  • Name
    currency
    Type
    System.String
    Description
    The ISO currency code of the donation.

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
""
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnCharityDonation] Handle(ctx, CharityDonationContext e)