Skip to main content
Corvus Connection

On Watch Streak

Twitch
Trigger
Preview
entry.onWatchStreakFires when a viewer's watch streak is shared in chat. Binds the viewer and streak length.Triggers on a shared watch streak.Not live yet. You can build and test this flow now, but it can't be activated until its event source is wired.Requires the user:read:chat scope.
EngagementChat

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
userId
Data
System.String
multiplexed
userName
Data
System.String
multiplexed
streakMonths
Data
System.Int32
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    userId
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    userName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    streakMonths
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed

Bindings

Name
Type
Description
userId
System.String
The viewer's user id.
userName
System.String
The viewer's display name.
streakMonths
System.Int32
The viewer's watch-streak length in months.
  • Name
    userId
    Type
    System.String
    Description
    The viewer's user id.
  • Name
    userName
    Type
    System.String
    Description
    The viewer's display name.
  • Name
    streakMonths
    Type
    System.Int32
    Description
    The viewer's watch-streak length in months.

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#

[OnWatchStreak] Handle(ctx, WatchStreakContext e)