Skip to main content
Corvus Connection

On Resub Message

TwitchTrigger
entry.onResubMessageFires when a viewer shares a resubscription message. Binds the subscriber, tier, streak, and message.Triggers on a resubscription with a shared message.Requires the channel:read:subscriptions scope.
MonetizationChatAlerts

Outputs

Name
Kind
Type
Flags
outExecexecNone
userIdDataSystem.Stringmultiplexed
userNameDataSystem.Stringmultiplexed
tierDataSystem.Int32multiplexed
cumulativeMonthsDataSystem.Int32multiplexed
streakMonthsDataSystem.Int32multiplexed
messageDataSystem.Stringmultiplexed

Bindings

Name
Type
Description
userIdSystem.StringThe subscriber's user id.
userNameSystem.StringThe subscriber's display name.
tierSystem.Int32The subscription tier (1, 2, or 3).
cumulativeMonthsSystem.Int32How many months the viewer has subscribed in total.
streakMonthsSystem.Int32The viewer's current consecutive-month streak.
messageSystem.StringThe message the subscriber shared.

Parameters

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

Lowers to C#

[OnResubMessage] Handle(ctx, ResubMessageContext e)