Skip to main content
Corvus Connection

On Charity Campaign Stop

Twitch
Trigger
entry.onCharityCampaignStopFires when a charity campaign ends. Binds the charity and its final and target amounts.Triggers when a charity campaign ends.Requires the channel:read:charity scope.
FundraisingLifecycle

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
charityName
Data
System.String
multiplexed
currentAmount
Data
System.Decimal
multiplexed
targetAmount
Data
System.Decimal
multiplexed
currency
Data
System.String
multiplexed
stoppedAt
Data
System.DateTime
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    charityName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    currentAmount
    Kind
    Data
    Type
    System.Decimal
    Flags
    multiplexed
  • Name
    targetAmount
    Kind
    Data
    Type
    System.Decimal
    Flags
    multiplexed
  • Name
    currency
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    stoppedAt
    Kind
    Data
    Type
    System.DateTime
    Flags
    multiplexed

Bindings

Name
Type
Description
charityName
System.String
The name of the charity.
currentAmount
System.Decimal
The amount raised when the campaign ended.
targetAmount
System.Decimal
The campaign's fundraising target.
currency
System.String
The ISO currency code of the campaign.
stoppedAt
System.DateTime
When the campaign ended (UTC).
  • Name
    charityName
    Type
    System.String
    Description
    The name of the charity.
  • Name
    currentAmount
    Type
    System.Decimal
    Description
    The amount raised when the campaign ended.
  • Name
    targetAmount
    Type
    System.Decimal
    Description
    The campaign's fundraising target.
  • Name
    currency
    Type
    System.String
    Description
    The ISO currency code of the campaign.
  • Name
    stoppedAt
    Type
    System.DateTime
    Description
    When the campaign ended (UTC).

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#

[OnCharityCampaignStop] Handle(ctx, CharityCampaignContext e)