|
35 | 35 |
|
36 | 36 |
|
37 | 37 | __all__ = ( |
38 | | - "SubscriptionPayload", |
| 38 | + "AdBreakBeginSubscription", |
39 | 39 | "AutomodMessageHoldSubscription", |
40 | 40 | "AutomodMessageUpdateSubscription", |
41 | 41 | "AutomodSettingsUpdateSubscription", |
42 | 42 | "AutomodTermsUpdateSubscription", |
43 | | - "ChannelUpdateSubscription", |
44 | | - "ChannelFollowSubscription", |
45 | | - "AdBreakBeginSubscription", |
46 | | - "ChatClearSubscription", |
47 | | - "ChatClearUserMessagesSubscription", |
48 | | - "ChatMessageSubscription", |
49 | | - "ChatNotificationSubscription", |
50 | | - "ChatMessageDeleteSubscription", |
51 | | - "ChatSettingsUpdateSubscription", |
52 | | - "ChatUserMessageHoldSubscription", |
53 | | - "ChatUserMessageUpdateSubscription", |
54 | | - "ChannelSubscribeSubscription", |
55 | | - "ChannelSubscriptionEndSubscription", |
56 | | - "ChannelSubscriptionGiftSubscription", |
57 | | - "ChannelSubscribeMessageSubscription", |
58 | | - "ChannelCheerSubscription", |
59 | | - "ChannelRaidSubscription", |
60 | 43 | "ChannelBanSubscription", |
61 | | - "ChannelUnbanSubscription", |
62 | | - "ChannelUnbanRequestSubscription", |
63 | | - "ChannelUnbanRequestResolveSubscription", |
| 44 | + "ChannelCheerSubscription", |
| 45 | + "ChannelFollowSubscription", |
64 | 46 | "ChannelModerateSubscription", |
65 | 47 | "ChannelModerateV2Subscription", |
66 | 48 | "ChannelModeratorAddSubscription", |
67 | 49 | "ChannelModeratorRemoveSubscription", |
68 | 50 | "ChannelPointsAutoRedeemSubscription", |
69 | | - "ChannelVIPAddSubscription", |
70 | | - "ChannelVIPRemoveSubscription", |
71 | | - "ChannelWarningAcknowledgementSubscription", |
72 | | - "ChannelWarningSendSubscription", |
73 | | - "ChannelPointsRewardAddSubscription", |
74 | | - "ChannelPointsRewardUpdateSubscription", |
75 | | - "ChannelPointsRewardRemoveSubscription", |
76 | 51 | "ChannelPointsRedeemAddSubscription", |
77 | 52 | "ChannelPointsRedeemUpdateSubscription", |
| 53 | + "ChannelPointsRewardAddSubscription", |
| 54 | + "ChannelPointsRewardRemoveSubscription", |
| 55 | + "ChannelPointsRewardUpdateSubscription", |
78 | 56 | "ChannelPollBeginSubscription", |
79 | | - "ChannelPollProgressSubscription", |
80 | 57 | "ChannelPollEndSubscription", |
81 | | - "SuspiciousUserUpdateSubscription", |
82 | | - "SuspiciousUserMessageSubscription", |
| 58 | + "ChannelPollProgressSubscription", |
| 59 | + "ChannelPredictionBeginSubscription", |
| 60 | + "ChannelPredictionEndSubscription", |
| 61 | + "ChannelPredictionLockSubscription", |
| 62 | + "ChannelPredictionProgressSubscription", |
| 63 | + "ChannelRaidSubscription", |
| 64 | + "ChannelSubscribeMessageSubscription", |
| 65 | + "ChannelSubscribeSubscription", |
| 66 | + "ChannelSubscriptionEndSubscription", |
| 67 | + "ChannelSubscriptionGiftSubscription", |
| 68 | + "ChannelUnbanRequestResolveSubscription", |
| 69 | + "ChannelUnbanRequestSubscription", |
| 70 | + "ChannelUnbanSubscription", |
| 71 | + "ChannelUpdateSubscription", |
| 72 | + "ChannelVIPAddSubscription", |
| 73 | + "ChannelVIPRemoveSubscription", |
| 74 | + "ChannelWarningAcknowledgementSubscription", |
| 75 | + "ChannelWarningSendSubscription", |
| 76 | + "CharityCampaignProgressSubscription", |
| 77 | + "CharityCampaignStartSubscription", |
| 78 | + "CharityCampaignStopSubscription", |
| 79 | + "CharityDonationSubscription", |
| 80 | + "ChatClearSubscription", |
| 81 | + "ChatClearUserMessagesSubscription", |
| 82 | + "ChatMessageDeleteSubscription", |
| 83 | + "ChatMessageSubscription", |
| 84 | + "ChatNotificationSubscription", |
| 85 | + "ChatSettingsUpdateSubscription", |
| 86 | + "ChatUserMessageHoldSubscription", |
| 87 | + "ChatUserMessageUpdateSubscription", |
83 | 88 | "GoalBeginSubscription", |
84 | | - "GoalProgressSubscription", |
85 | 89 | "GoalEndSubscription", |
| 90 | + "GoalProgressSubscription", |
86 | 91 | "HypeTrainBeginSubscription", |
87 | | - "HypeTrainProgressSubscription", |
88 | 92 | "HypeTrainEndSubscription", |
| 93 | + "HypeTrainProgressSubscription", |
| 94 | + "SharedChatSessionBeginSubscription", |
| 95 | + "SharedChatSessionEndSubscription", |
| 96 | + "SharedChatSessionUpdateSubscription", |
89 | 97 | "ShieldModeBeginSubscription", |
90 | 98 | "ShieldModeEndSubscription", |
91 | 99 | "ShoutoutCreateSubscription", |
92 | 100 | "ShoutoutReceiveSubscription", |
93 | | - "StreamOnlineSubscription", |
94 | 101 | "StreamOfflineSubscription", |
| 102 | + "StreamOnlineSubscription", |
| 103 | + "SubscriptionPayload", |
| 104 | + "SuspiciousUserMessageSubscription", |
| 105 | + "SuspiciousUserUpdateSubscription", |
95 | 106 | "UserAuthorizationGrantSubscription", |
96 | 107 | "UserAuthorizationRevokeSubscription", |
97 | 108 | "UserUpdateSubscription", |
98 | 109 | "WhisperReceivedSubscription", |
99 | | - "CharityDonationSubscription", |
100 | | - "CharityCampaignStartSubscription", |
101 | | - "CharityCampaignProgressSubscription", |
102 | | - "CharityCampaignStopSubscription", |
103 | | - "ChannelPredictionBeginSubscription", |
104 | | - "ChannelPredictionLockSubscription", |
105 | | - "ChannelPredictionProgressSubscription", |
106 | | - "ChannelPredictionEndSubscription", |
107 | | - "SharedChatSessionBeginSubscription", |
108 | | - "SharedChatSessionEndSubscription", |
109 | | - "SharedChatSessionUpdateSubscription", |
110 | 110 | ) |
111 | 111 |
|
112 | 112 |
|
@@ -136,18 +136,18 @@ class SubscriptionPayload(abc.ABC): |
136 | 136 | version: ClassVar[Any] |
137 | 137 |
|
138 | 138 | __slots__ = ( |
| 139 | + "broadcaster_id", |
139 | 140 | "broadcaster_user_id", |
140 | | - "moderator_user_id", |
141 | | - "user_id", |
142 | 141 | "campaign_id", |
143 | 142 | "category_id", |
144 | | - "organization_id", |
145 | 143 | "client_id", |
146 | 144 | "conduit_id", |
147 | | - "reward_id", |
148 | 145 | "from_broadcaster_user_id", |
| 146 | + "moderator_user_id", |
| 147 | + "organization_id", |
| 148 | + "reward_id", |
149 | 149 | "to_broadcaster_user_id", |
150 | | - "broadcaster_id", |
| 150 | + "user_id", |
151 | 151 | ) |
152 | 152 |
|
153 | 153 | def __init__(self, **condition: Unpack[Condition]) -> None: |
|
0 commit comments