Skip to content

Commit

Permalink
Add SubscriptionRevoked to sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
chillymosh committed Feb 15, 2025
1 parent 55f1046 commit 89d50c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/references/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ Client Events

:param UserTokenPayload payload: The payload containing token information.

.. py:function:: event_subscription_revoked(payload: twitchio.models.eventsub_.SubscriptionRevoked) -> None
.. py:function:: event_subscription_revoked(payload: ~models.eventsub_.SubscriptionRevoked) -> None
:async:

Event dispatched when Twitch revokes a subscription. This can occur on websockets and webhooks.
Expand Down
5 changes: 5 additions & 0 deletions docs/references/eventsub_models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,11 @@ Eventsub
.. autoclass:: twitchio.StreamOffline()
:members:

.. attributetable:: twitchio.SubscriptionRevoked

.. autoclass:: twitchio.SubscriptionRevoked()
:members:

.. attributetable:: twitchio.UserAuthorizationGrant

.. autoclass:: twitchio.UserAuthorizationGrant()
Expand Down

0 comments on commit 89d50c8

Please sign in to comment.