Skip to content

Commit e81d6c6

Browse files
committed
feat: added Golden Kappa Train info to channel_hype_train_begin, channel_hype_train_progress and channel_hype_train_end topic payloads. closes Teekeks#337
1 parent 76f9914 commit e81d6c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

twitchAPI/object/eventsub.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ class HypeTrainData(TwitchObject):
771771
"""The time when the Hype Train started."""
772772
expires_at: datetime
773773
"""The time when the Hype Train expires. The expiration is extended when the Hype Train reaches a new level."""
774+
is_golden_kappa_train: bool
775+
"""Indicates if the Hype Train is a Golden Kappa Train."""
774776

775777

776778
class HypeTrainEndData(TwitchObject):
@@ -794,6 +796,8 @@ class HypeTrainEndData(TwitchObject):
794796
"""The time when the Hype Train ended."""
795797
cooldown_ends_at: datetime
796798
"""The time when the Hype Train cooldown ends so that the next Hype Train can start."""
799+
is_golden_kappa_train: bool
800+
"""Indicates if the Hype Train is a Golden Kappa Train."""
797801

798802

799803
class StreamOnlineData(TwitchObject):

0 commit comments

Comments
 (0)