You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: twitchio/eventsub/subscriptions.py
+28-28Lines changed: 28 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -2666,20 +2666,20 @@ class ShieldModeBeginSubscription(SubscriptionPayload):
2666
2666
2667
2667
This event informs the subscriber that the broadcaster's moderation settings were changed based on the broadcaster's Shield Mode configuration settings.
2668
2668
2669
-
Parameters
2670
-
----------
2671
-
broadcaster_user_id: str | PartialUser
2672
-
The ID, or PartialUser, of the broadcaster to subscribe to.
2673
-
moderator_user_id: str | PartialUser
2674
-
The ID, or PartialUser, of a moderator for the the broadcaster you are subscribing to. This could also be the broadcaster.
2675
-
2676
2669
.. important::
2677
2670
Requires the ``moderator:read:shield_mode`` or ``moderator:manage:shield_mode`` scope.
2678
2671
2679
2672
- If you use webhooks, the moderator must have granted your app (client ID) one of the above permissions prior to your app subscribing to this subscription type.
2680
2673
2681
2674
- If you use WebSockets, the moderator's ID must match the user ID in the user access token.
2682
2675
2676
+
Parameters
2677
+
----------
2678
+
broadcaster_user_id: str | PartialUser
2679
+
The ID, or PartialUser, of the broadcaster to subscribe to.
2680
+
moderator_user_id: str | PartialUser
2681
+
The ID, or PartialUser, of a moderator for the the broadcaster you are subscribing to. This could also be the broadcaster.
2682
+
2683
2683
Attributes
2684
2684
----------
2685
2685
condition: Condition
@@ -2712,20 +2712,20 @@ class ShieldModeEndSubscription(SubscriptionPayload):
2712
2712
2713
2713
This event informs the subscriber that the broadcaster's moderation settings were changed back to the broadcaster's previous moderation settings.
2714
2714
2715
-
Parameters
2716
-
----------
2717
-
broadcaster_user_id: str | PartialUser
2718
-
The ID, or PartialUser, of the broadcaster to subscribe to.
2719
-
moderator_user_id: str | PartialUser
2720
-
The ID, or PartialUser, of a moderator for the the broadcaster you are subscribing to. This could also be the broadcaster.
2721
-
2722
2715
.. important::
2723
2716
Requires the ``moderator:read:shield_mode`` or ``moderator:manage:shield_mode`` scope.
2724
2717
2725
2718
- If you use webhooks, the moderator must have granted your app (client ID) one of the above permissions prior to your app subscribing to this subscription type.
2726
2719
2727
2720
- If you use WebSockets, the moderator's ID must match the user ID in the user access token.
2728
2721
2722
+
Parameters
2723
+
----------
2724
+
broadcaster_user_id: str | PartialUser
2725
+
The ID, or PartialUser, of the broadcaster to subscribe to.
2726
+
moderator_user_id: str | PartialUser
2727
+
The ID, or PartialUser, of a moderator for the the broadcaster you are subscribing to. This could also be the broadcaster.
0 commit comments